Download

Detect collision with floor when using PHYS_none

I’m working on flying vehicles that are using PHYS_none to have more control, I use hitwall, touch and bump events to detect collisons and they are working perfect, but if the vehicle collides with the floor (vertically) there are any event (event landed is only for phys_falling).

There are any way to detect these collisions?

I can check the velocity.z in each tick to see when is set to 0 from a higher value in the last frame, but it’s better to use any event if exists.

The vehicle is using a collision cylinder component, probably using the physics asset there is a way to detect better, but I prefer to use the cylinder for now.