Skip to content

isObjectDynamicPhysics

Server-side

Reports whether an object is currently simulated by GTA physics.

Syntax

bool isObjectDynamicPhysics(object theObject)

Arguments

theObjectobject

Object to query.

Returns

true when dynamic physics is enabled; false otherwise or for an invalid object.

Ownership and lifecycle

The switch is server-side and travels with the object. Position, rotation, linear velocity and angular velocity are synchronized, so motion survives a syncer change and a stream-out/stream-in cycle. Collision is not generated; the object is simulated with whatever its model already has.

OOP aliases

  • object:isDynamicPhysics()
  • object.dynamicPhysics

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →