The most difficult task faced me. We have a falling object that should be triggered when the player is exactly under it. And there are many of these objects. For example, icicles. At the same time, the one under which the player is located should fall. How to do it. I have everything falling at once
Compare the X position of the player and the icicle.
For instance: Player.X()-50 < X position of icicle < Player.X()
1 Like
thank you! Everything works
1 Like