You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making a 3d game and trying to figure out how to make my character to climb a ladder using this library.
I wish to have it working "Minecraft" style, walking into the ladder should make me "walk" up.
I realize I need a collider that will change some of the physics when entering it and exiting it ("while on ladder")
but after playing for a while with the options, I couldn't figure it out.
Has anybody tried it? have an example?
Thanks!
The text was updated successfully, but these errors were encountered:
i suppose this package could use isFlying and isClimbing states.
in the most basic implementation, you just add a sensor collider to the ladder, when the player enters the ladder sensor then you disable gravity. when the player exists the collider, you restore gravity.
I'm making a 3d game and trying to figure out how to make my character to climb a ladder using this library.
I wish to have it working "Minecraft" style, walking into the ladder should make me "walk" up.
I realize I need a collider that will change some of the physics when entering it and exiting it ("while on ladder")
but after playing for a while with the options, I couldn't figure it out.
Has anybody tried it? have an example?
Thanks!
The text was updated successfully, but these errors were encountered: