Skip to content

Character get knocked up when runs into steep slopes #37

Answered by RossNordby
demiurghg asked this question in Q&A
Discussion options

You must be logged in to vote

The CharacterController.VerticalMotionConstraint.MaximumGlueForce tries to keep the character glued to the last support, which should stop this kind of thing from happening so long as the force is strong enough. You may need to increase it if the character's horizontal motion is overpowering it.

You can try out different values in the CharacterPlaygroundDemo and see their impact on the tilted planks (toward the upper left upon spawning). Reducing the maximum glue force lets the character slide up the wall like in the video.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@RossNordby
Comment options

@demiurghg
Comment options

@RossNordby
Comment options

@demiurghg
Comment options

@RossNordby
Comment options

Answer selected by demiurghg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants