SetGravityStrength(0) does not actually "disable gravity"
complete
Helpful Helper
One would expect that setting gravity strength to 0 would essentially make the player have no gravity. However that is not the case.
Log In
Momo the Monster
marked this post as
complete
This was fixed in August, just caught it while doing some clean-up.
Faxmashine
It also seems like the player's gravity is applied during
Update()
or LateUpdate()
instead of FixedUpdate()
?I'm pretty sure it belongs into
FixedUpdate()
. That caused some issues when I was trying to control the player's velocity, which I cannot do in Update()
to keep things in sync with the physics system.Ruuubick - Designer
marked this post as
tracked
IgbarVonSquid
To add to this, anything 0 or below 0 won't work. While it does slow gravity, it doesn't fully stop it. 0 and -10 both act the same. However if you set the gravity strength to an absurdly low number still above 0, like 0.000001 it effectively stops gravity