Get Sleep Threshold

Physics
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Get the sleep threshold

Declaración

func GetSleepThreshold(target entity<Rigidbody>) float
go

Parámetros

Entrada

Nombre Tipo Descripción
Target Rigidbody Target Rigidbody

Regresar

Tipo Descripción
Float Sleep threshold. When the movement and rotation of a rigid body are less than this value for a period of time, it will enter a sleep state. The rigid body in sleep state will no longer perform physical calculations.