Hi everyone.
I have an object with Bullet behavior (disabled) and another with Solid behavior. I am trying to make the bullet to stop moving when it is touching a solid and never considers moving if it is touching a solid.
Here is a GIF of the problem:
i.imgur.com/muMDiao.gif
The circle is the Bullet in this case.
So my code is this:
i.imgur.com/lA4Nk5v.png
But as you can see from the GIF no matter what, it still goes through the solid if I spam tap.
I tried having a subevent checking if the bullet is overlapping a solid, it won't register the tap. But the problem then would be if the bullet touched the wall, stopped and now the player wants the bullet to move OUT of the wall, they can't because the tap is ignored.
Any idea how I can resolve this issue?