How To Tell When Actor Touches Ground?

Curious on how would one be able to find out when an Actor/Blueprint touches the ground?

I turn on physics to drop the object to ground, then wish to turn off physics so the object cannot be moved by the player. If I set the static mesh/actor to Static, then I would not be able to allow players to add buildings to the world and move them around.

Any help would be appreciated, thanks

You could try to do something with object channels

You can have this behavior using what said… the documentation is here: Collision in Unreal Engine | Unreal Engine 5.1 Documentation

Cheers!

Hello,

I needed to do something like this yesterday, and here’s how I did it. In the Level blueprint, I put in the following nodes:

See, when the lamp collides with anything, it stops immediately. If you only want it to stop if it collides with the ground, then you can put in a Branch that checks to see if Other Actor is the same as the ground object. I hope that helps!

Regards,

Have you tried “Is Falling” ?

This means if your player is in the air.

You can unable all action while “Is Falling” is false.

1 Like

Thanks for the reply, but its not the player I am checking to fall. Its an Actor which the player creates, then drops into the game world.