Get Global Sleep Threshold

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

Get the global sleep threshold

Declaración

func GetGlobalSleepThreshold() float
go

Parámetros

Regresar

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