- Home /
Question by
Liam-The-P · Feb 17, 2014 at 06:45 PM ·
rigidbodymomentumgoing
create momentum on a player that should always moves forward
I am new and not good at this. but i am trying to make a app where the player is always going forward but still have gravity. How can i do that? If you can help thank you very much.
Comment
Best Answer
Answer by deltamish · Feb 17, 2014 at 06:47 PM
Just Remove the chracterController Add a rigidbody and freeze its rotation
and then add a constant force component and set z value to about 100f
Thats all...
:)
@Liam-The-P: If your question is answered, please click on the checkmark to the left of the answer to close it out. Thanks.
Answer by RedDevil · Feb 17, 2014 at 09:28 PM
Either AddForce or you can also use velocity like this : rigidbody.Velocity = new Vector3(x,y,z);