Is there a way to decelerate an actor in the y direction?

azelen22azelen22 Member, BASIC Posts: 3

I am trying to make an actor (the player) slowly come to a stop at the apex of their jump but I cannot seem to figure out how to make an actor decelerate with upward momentum. Any suggestions?

Best Answer

  • Braydon_SFXBraydon_SFX Posts: 9,273
    Accepted Answer

    Assuming you have a gravity force, make the actor jump by changing their motion.linearVelocity.y value. It'll quickly make them "jump", but it's not a constant force so your gravity should make it decelerate.

Sign In or Register to comment.