Jump to precise position

Hi ,

I want to jump my character on a specific location on the screen ( on a kinematic object ) .Even by adjusting the value of setVelocity I always shifting. 

Is it possible either to jump to a position or possibly correct after jump.

Thank you.

player=display.newRect( 250, 100, 16, 16) physics.addBody(player, "dynamic", {density=1, bounce=0.1, friction=1.0}) player:setLinearVelocity( 270, -600 )

Hi @shadrak,

I don’t fully understand your scenario. Do you want the object to move at a steady rate to a specific point on the screen?

Brent

Hi Brent,

I want to jump from point A to point B. I want to know how to calculate the force required for accurate jump. At worst, is approximately correct then jump jump move my character. 

My character will have the ability to jump from platforms in platforms, not to move. So that after several jump, I have a gap that is growing. 

I hope my explanation is clear.

Thank you for your help

Hi Shadrak,

I would suggest that you somehow adjust the position either after a jump, or before the next jump. A quick transition might look best, for example, the player is “setting up” for the next jump before it happens. This way, the spacing should remain consistent.

Take care,

Brent

Thank you for your help,

Finally, I will give a concave shape to my platform, my jumper object will be placed himself with physics.

Hi @shadrak,

I don’t fully understand your scenario. Do you want the object to move at a steady rate to a specific point on the screen?

Brent

Hi Brent,

I want to jump from point A to point B. I want to know how to calculate the force required for accurate jump. At worst, is approximately correct then jump jump move my character. 

My character will have the ability to jump from platforms in platforms, not to move. So that after several jump, I have a gap that is growing. 

I hope my explanation is clear.

Thank you for your help

Hi Shadrak,

I would suggest that you somehow adjust the position either after a jump, or before the next jump. A quick transition might look best, for example, the player is “setting up” for the next jump before it happens. This way, the spacing should remain consistent.

Take care,

Brent

Thank you for your help,

Finally, I will give a concave shape to my platform, my jumper object will be placed himself with physics.