After moving objects collide, they both go slower?
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
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
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.
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.
Also, would it be possible to constrain its angle that it moves at?