Hi! I’m using the Physics Engine to make a ball hit a wall and damaging it but it doesn’t seems to always see the collision.
In this video you can see the ball that (when I press a key) hit the wall but doesn’t always subtract 1
There is something with the collision condition that I’m doing wrong? Why sometime is ok and others no?
In the video happens only at 7 but other times happens at different numbers.
Some solutions could be these:
-Maybe you have to use the condition “Trigger one”.
-I don’t now if I seem to see the video to fast, but sometimes the ball goes very near to the cube, but it doesn’t hit it. Maybe you have to change the force that you give when you press the key.
-Or check the hitboxes.
I hope I helped you
Write if you can’t resolve the problem
Bullet : If set to true, the object will use a continuous-collision-detection algorithm, slightly reducing the performance but improving the response when moving very fast. Useful to correctly simulate… well… bullets (or any high-speed object), and reduce the chances for the bullets to go through thin objects.