Documentation
›
API Reference
›
Object
›
Entity
GetPhysicsMode
Lua
C++
This function gets the physics mode of an entity, which indicates how it reacts to physical forces and collisions.
Syntax
int
GetPhysicsMode
()
Returns
The value returned may be Entity.RigidBodyPhysics or Entity.CharacterPhysics.