- Home /
turn off gravity
Is there and easy way to turn of gravity while still using character controller and rigidbody?
Answer by Maarten · Dec 04, 2010 at 09:27 PM
You can turn of the Gravity at the Character Motor script. Its under Movement\Gravity. Just put that one to 0
Even with gravity at 0, characters still fall, just very, very slowly. Is there a way to completely turn it off for the character motor?
Answer by Sriram · Dec 06, 2010 at 06:36 AM
And in case you're using a rigid body there's a checkbox that youl see in your inspector, just uncheck gravity and you' be good to go.
Answer by leonardon · Feb 29, 2016 at 04:31 AM
This also might be helpful:
rigidbody2D.gravityScale = 0f;
Your answer
Follow this Question
Related Questions
Movement on a tube 1 Answer
Rigidbody ball physics 1 Answer
Object affected by gravity freezes after it comes to rest 1 Answer
Need help on my script to calculate gravity for a mass 1 Answer
shrinking according to mass 0 Answers