PhysicsDirectBodyState.getContactCount

Returns the number of contacts this body has with other bodies. Note: By default, this returns 0 unless bodies are configured to monitor contacts. See RigidBody.contactMonitor.

struct PhysicsDirectBodyState
@nogc nothrow const
long
getContactCount
()

Meta