Skip to content

format

typescript
Rigidbody.isKinematic

class: Rigidbody

description

Whether the rigidbody is enabled for physics simulation.

When isKinematic is set to true, the rigidbody will not be affected by forces and collisions from the physics engine, and its position and rotation can be controlled through code. When isKinematic is set to false, the rigidbody will be simulated for motion based on forces and collisions from the physics engine.

parameter

param_nametypedescription

reture

typedescription
booleanWhether physics simulation is enabled

code example