"jumpTo" action with physics
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!
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
-
Yovanny369 Posts: 105
Basically what you can do is limit the Max speed of the ball to 170
and check Apply Max speed.
Answers
Check it out!
https://www.dropbox.com/sh/9gqiviyqfbjs7xz/Me9jyf_C3_
https://www.dropbox.com/sh/efrx9u72loruyao/TL8MZoGoVr