After moving objects collide, they both go slower?

MSStudiosMSStudios Member Posts: 54
edited June 2012 in Working with GS (Mac)
On my app Balloon Buster (free on the App Store), there's one major bug.
When the monster (moves horizontally from side to side), and the ball hits it (moves in a consistent straight line, going in different angle), they both start moving slower, but still moving in the direction they should be moving in.
How could I fix this? thanks in advance

Answers

  • ORBZORBZ Member Posts: 1,304
    edited June 2012

    Make sure that physics.restitution is set to 1 on both colliding actors.

    Restitution is the return to an original physical condition, especially after elastic deformation.

    Also, make sure there is no drag or friction.

  • MSStudiosMSStudios Member Posts: 54

    Make sure that physics.restitution is set to 1 on both colliding actors.

    Restitution is the return to an original physical condition, especially after elastic deformation.

    Also, make sure there is no drag or friction.

    Already done that, but this bug is still there :/
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well then turn your restitution higher. Turn your drag lower. Etc…. In real life Objects will slow down. when they bounce away from each other. its how physics works.

    Also please do not reject an answer because it didn't work on your first attempt. Future users will likely not even try the recommendation because on your word it was a worthless answer. Keep commenting and people will still help you. keep rejecting users who are helping you and they will stop helping you.

  • MSStudiosMSStudios Member Posts: 54
    Well then turn your restitution higher. Turn your drag lower. Etc…. In real life Objects will slow down. when they bounce away from each other. its how physics works.

    Also please do not reject an answer because it didn't work on your first attempt. Future users will likely not even try the recommendation because on your word it was a worthless answer. Keep commenting and people will still help you. keep rejecting users who are helping you and they will stop helping you.

    Okay thanks for the help and the advice, apologies.
  • MSStudiosMSStudios Member Posts: 54
    Is there any way I can constrain the ball actor's speed? It moves in a straight line, at different angles, so how would I go about doing that?
    Also, would it be possible to constrain its angle that it moves at?
Sign In or Register to comment.