- Home /
Nose Diving Plane
How do I get a plane to rotate by a certain amount and just Drop ifunder a certain speed?
Answer by spinaljack · Apr 26, 2010 at 03:54 PM
That depends if you're using physics or manipulating your plane's transform directly, modelling the physics of a real plane would give you this effect if you give the plane an up force relative to its forward velocity so it'll naturally drop under gravity if it's not moving fast enough. Use angular drag to make the plane level out after rotating with add relative torque.
If you're not using physics you'll have to create a target rotation and turn it into a quaternion or you can use a look at function. You can find speed with rigidbody.velocity.magnitude (this will be absolute speed and not forward speed which is relevant for aircraft)
Your answer
Follow this Question
Related Questions
Calculate Difference Between Two 3d Angles 2 Answers
Returning a rigidbody back to its original x and z rotations through physics forces. 2 Answers
Clamping velocity and angular velocity at the same time? 0 Answers
physx joint clutch 0 Answers
AddTorque() doesn't work when also using AddForce() 1 Answer