Stop the ball from moving with gravity x on

stevebell009stevebell009 Member Posts: 7
edited November -1 in Working with GS (Mac)
Hi,

I watch the video on http://www.youtube.com/user/GameSaladCookbook#p/u/10/CPchb70ir_0 by tshirtbooth. At the end of the video he said in the next video he would explain how to make the ball to stop when it hit the ground with the wind type gravity. I try to find the video but to no avail. I try to do it by myself but there is no luck either. Can someone tell me how to do this? Thank you.

Steve

Comments

  • micksolomicksolo Member Posts: 264
    maybe try setting restitution on the ground to 0.
  • stevebell009stevebell009 Member Posts: 7
    thanks mick but that doesn't work.
  • RedlerTechRedlerTech Member Posts: 1,583
    Okay so what you want to do is, when your actor collides with the ground to accelerate in the opposite direction that the gravity is pulling you at the same speed as the gravity.

    Matt :D

    _________________________________________________
    Full Game Creation Service
    1 On 1 Project Help
  • stevebell009stevebell009 Member Posts: 7
    Thanks, Next Gen. That works. The actor hit the ground and slide for few second before it stops moving, anyway how to make it stop moving immediately when it hit the ground?
  • liamoliamo Member Posts: 191
    Make a rule that says when actor hits ground change atrtribute self. Physics movable to false.
    I think this will work.

    Liamo
  • stevebell009stevebell009 Member Posts: 7
    It doesn't work, liamo. thanks.
Sign In or Register to comment.