Documentation

Physics Sleep - Open Dev Kit Documentation

Open Dev Kit Documentation :: Game :: Object :: Physics Sleep

Game.Object.PhysicsSleep
if object can be deactivated if it stops moving for a period of time; may be needed to avoid duplicate collision events

Type

Boolean

Lua Usage

-- Get
local boolean = object.PhysicsSleep

-- Set
object.PhysicsSleep = boolean

If you think anything is missing, please feel free to: submit documentation feedback on this page