Tutorial: Rigid Body

Rigid Body

rigid_body

Rigid body parameters

Dependencies

  • local_transform

Attributes

Attribute Type Default Description
mass float 1 Mass
linearDamping float 0 Linear damping
angularDamping float 0 Angular damping
friction float 0.5 Friction
rollingFriction float 0 Rolling friction
spinningFriction float 0 Spinning friction
restitution float 0 Restitution
linearSleepingThreshold float 0.8 Linear sleeping threshold
angularSleepingThreshold float 1 Angular sleeping threshold
isKinematic bool false Whether the rigid body should use kinematic physics or not