How do I make a false floor that disappears when someone steps on it

I’m programming in version 4.22, and I’m trying to make a floor that falls, but I’m not getting it, I’m using triggerbox and matinelegacy, I know how to do it when he presses a key, but I don’t know how to do it when he just plays the triggerbox.

create an actor blueprint with the floor and a box collision


put this in event graph

change the “set simulate physics” for what u want or use like that :face_in_clouds:

1 Like

u can remove the "is moving on ground, in some cases you can jump in the false floor and dont fall :sweat_smile:

Hello!

in some cases the physics could cause a bug with the character physics, in order to avoid that, you can change the mass of the object to be heavier and just fall to the ground.


the code can be simplified like this


And in the “Details” panel, you can activate the “Mass” option and increase the weight.