How do I ignore gravity when using Rigidbody and always have the same jump force?
Hello. I want to use rigidbody.AddForce, however I want it to be unaffected by gravity and always have the same jump force.
Comment
Answer by MelvMay · Feb 23, 2017 at 09:09 PM
If you jump without gravity then you'll continue moving up and never come down. ;)
Gravity is always consistent therefore it must be the force you apply or how many times per second you apply it that changes. Perhaps you are adding a force in the 'Update' callback (per-frame) rather than 'FixedUpdate' callback.
Your answer
![](https://koobas.hobune.stream/wayback/20220612111817im_/https://answers.unity.com/themes/thub/images/avi.jpg)