How do i properly carry over momentum when sliding.
I am working on a level that includes sliding mechanics, not unlike a snowboarding game. So far I have attempted to make the half-pipe like mechanics work, but the issue is that the momentum gets drained very quickly as soon as you aren't sliding towards the ground. How do I keep the character's momentum going upwards as well?
-
What sort of friction level are you dealing with? I'd say set it to zero and use some logic to gradually diminish the player's speed to mimic the effect of air resistance.
-
I agree with first checking the friction. I also believe that somewhere on these forums one of the molecules said that the friction between two objects is based on the max friction of both objects, so keep that in mind.
-
I have zero friction both on the puppet and the object i am sliding on.
-
Give the character more mass?
It may be an unwanted side effect of the collision system. ? -
You may get more joy by making your snowboard and halfpipe non-collidable, but group each with an invisible overlapping shape that's simpler and glides better, if you can find such a thing.
-
'@QuietlyWrong
it isn't actually a snowboarding game. There is no snowboard :) It is just a puppet sliding down a steep surface essentially. -
Not knowing what you're actually making, I had to use generic terms. :D
Though if its a puppet that's doing the sliding, that might complicate the solution.
Please sign in to leave a comment.