handle property

int? get handle

The body's simulation handle, or null while unmounted.

Pass it to world's PhysicsWorld.simulation (downcast to the concrete backend) to reach backend-specific body features the generic surface does not expose.

Implementation

int? get handle => _handle;