Hey guys,
I have an object that needs to slow down the further it gets away from the ground. Using:
rigidbody.AddForce (0, 10, 0);
works fine, but I need it to be:
rigidbody.Addforce(0,0,0)
when it gets to a certain height.
It needs to be done gradually, not just stop when it reaches said height.
Any ideas on how to do this?
Thanks!
↧