Force Fix
ghaem51 opened this issue · comments
fix:
if (-Other.relativeVelocity.y >= 0f)
Thanks.
But for me "if (-Other.relativeVelocity.y <= 0f)" works fine. For me, the relative velocity is platform.velocity.y - doodler.velocity.y. "if (-Other.relativeVelocity.y >= 0f)" is correct when relative velocity = doodler.velocity.y - platform.velocity.y.
This may have occurred because Unity rigidbody has some bugs.