Collision Box Moves After Hitting A Wall?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Posts: 1
Joined: Fri Jul 12, 2019 8:07 pm

Collision Box Moves After Hitting A Wall?

Post by Heatso » Mon Jul 15, 2019 2:27 pm

My enemy has a collision box for detecting when it has been striked. Whenever the enemy bounces off the wall, it changes position. I don't know why. How can I keep it put?
I have a debug option (show collision boxes) in the variable initialization of the objects.
(659 Bytes) Downloaded 89 times
(1017 Bytes) Downloaded 92 times

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests