Skip to content

format

typescript
Rigidbody.sleepThreshold

class: Rigidbody

description

The velocity threshold at which a rigidbody enters sleep mode.

When the square of the linear velocity and angular velocity of a rigidbody is less than or equal to this threshold, the rigidbody will enter sleep mode.

parameter

param_nametypedescription

reture

typedescription
number

code example