Syntax

Result = dbGetStaticCollisionFloor()

Description

This command will return a value of one if the static collision check was at any point colliding with a floor surface. A floor surface is that which generally points upwards such as a flat floor or a ramp that can be ascended. This information can be used for detecting when something hits the floor of a static universe.

 

A return value of 0 indicates that a floor was not used in the collision, whereas a value of 1 indicates a floor or incline was involved.

See Also

dbGetStaticCollisionCount, dbGetStaticCollisionHit, dbGetStaticCollisionValue, dbGetStaticCollisionX, dbGetStaticCollisionY, dbGetStaticCollisionZ, dbStaticVolume