nbenven95 / BattleTank

Second major project in the Udemy Unreal Engine 4 course (project is actually C++, github seems to have goofed)
0 stars 0 forks source link

IsBarrelMoving() not working in certain edge cases #26

Open nbenven95 opened 5 years ago

nbenven95 commented 5 years ago

Add check to see if barrel is at its lowest elevation. If the x and y components of the vectors are equal and the barrel is at its min elevation, then we can assume that the barrel isn't moving.