"jumpTo" action with physics

fozkulfozkul Member Posts: 27
edited October 2012 in Working with GS (Mac)
Hello everyone,

I was wondering if GameSalad has a "jumpTo" action just like in Cocos2D. I have been struggling to find different approach to this effect since i couldn't find a "jumpTo" action.

Let me get to the point. I have bunch of balls falling down to ground with Acceleration of 100, after colliding with the ground, I want them to jump(bounce) to a specific X position. So i created a rule, checking when the actor collides with the ground then I set an interpolate behavior; set the position.X to 400 gave a duration of 3, linear. It jumps to the point. However, it does not really give a realistic effect and sometimes the landing position is not accurate.

Does anybody have any different approach to this?

Thank you!

Best Answer

  • Yovanny369Yovanny369 Posts: 105
    Accepted Answer
    Basically what you can do is limit the Max speed of the ball to 170
    and check Apply Max speed.

Answers

Sign In or Register to comment.