Moving character collide/overlap with actor, doesn't work all the time
Hi,
In my test game I have some actors which are falling down from the sky. I want to have let the player left a life, if the actors hit the player. Also the player is moving up.
So if the game starts, it worked correctly. But if the player is about up about 1000 to 3000 pixels and is moving up (complete Scene is 4000 px high), then the actors fly through the player-actor and nothing happend. Also in the lower area, it seems that the player doesn't sometimes hit the actor (maybe there is a space between actor and player-actor of 10 to 100px) but it counts as hit!
Didn't know what I do wrong.
In my test game I have some actors which are falling down from the sky. I want to have let the player left a life, if the actors hit the player. Also the player is moving up.
So if the game starts, it worked correctly. But if the player is about up about 1000 to 3000 pixels and is moving up (complete Scene is 4000 px high), then the actors fly through the player-actor and nothing happend. Also in the lower area, it seems that the player doesn't sometimes hit the actor (maybe there is a space between actor and player-actor of 10 to 100px) but it counts as hit!
Didn't know what I do wrong.