I’m facing a problem: I added a floor object and set it up so that it disappears two seconds after the player touches it. I’ve tried various solutions—moving it off-screen and bringing it back, using a variable, and even destroying the object and recreating it—but none of them worked. I’ve been dealing with this issue for a long time and usually just replace it with a different type of trap, but I really want to find a solution for this specific mechanic. I look forward to your reply, and sorry for the long message.
I want to remove the floor—or move it away from the screen—so that the player falls onto the spikes and dies, rather than just hiding it.
Can you post a screenshot of what you’re trying?
You can move it off screen by either storing it’s current location in object variables or just adding/subtracting an insanely large value.
If you hide it, you’d also need to check it’s visibility so it’s ignored when hidden and/or disable any behaviors.
Just as Keith said, just hide it and off the platform behaviour (until you want it back)
Thank you for your reply. I found a solution: temporarily disabling the platform’s behavior.
I actually did that with temporary use.