Having a problem with velocity direction...
Blitz3D Forums/Blitz3D Programming/Having a problem with velocity direction...
| ||
Ugh...for some reason I'm having trouble determining if my aircraft is moving forwards as opposed to backwards. Velocity in 3D is velocity no matter which way the aircraft is pointed. So I can't just get the magnitude of the velocity. Basically I need a fast way to make sure that the aircraft is moving forward >0 so I can apply the brake force at that point. Any help is appreciated. |
| ||
tformvector vx,vy,vz,0,PlaneMesh If tformedz() > 0 then {there is velocty in the direction of the nose of the plane.} Endif Stevie |
| ||
Perfect! Thanks a bunch SG. |