(Re Post) Need help with same actors colliding.
rickyniko
Member Posts: 85
Ok, so in my game, the actor pushes around crates to get through the maze, so what i want to happen, is that if one crate collides with another, i dont want the player to be able to push them BOTH in the same direction at the same time.(what happens is, the player pushes the crate, and when the crate hits the other crate, they both move in the same direction.) is there a way to stop this form happening?
(applying drag just makes them shake crazily when the player isnt moving them around)
thanks
(applying drag just makes them shake crazily when the player isnt moving them around)
thanks
Comments
Then you would create a smaller invisible actor that would spend most of it's time would spend most of its time constrained to the player's x/y. However, when you try to move your player, it would first send signal to the "sensor" that it need to scout out the area that your player intends to move into, at least the width of two crates. The sensor would track how many crate actors it overlapped and if the number is < 2 it would report back to the player that its is OK to move in that direction.