Jumping Actor
Hi All,
I am trying to get my character actor to 'Jump'.
I can get him 'Jumping' up, and then get him moving left/right with the jump, but it moves too straight.
Does anyone know how to implement an good 'arch' jump?
Cheers,
I am trying to get my character actor to 'Jump'.
I can get him 'Jumping' up, and then get him moving left/right with the jump, but it moves too straight.
Does anyone know how to implement an good 'arch' jump?
Cheers,
Comments
I think that you can just copy the rules and behaviors to your project.
Set the direction to right if linear momentum in x is >0, if < then set it to left.
multiply linear horizontal velocity by -1 to make it go left
-this only results in an arch when your character jumps WHILE moving (ideal)...providing he doesn't just roll forever in your game plan.
Up + left/right velocity (as long as there is gravity) should result in a nice arch. Play with the velocity to get it to your liking..probably something like 550 jump 50 right/left
Im new but hope that helps
you should probably also set it to vary the horizontal (x) velocity based on the actual momentum beforehand...so basically some min-max values. That would make a pretty nice jump imo