You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > activate

19.4.2 activate

self = physics.Body:activate()

Parameter

Type

Description

self

in physics.Body

The input Body

self

out physics.Body

The input Body is returned as the output

Activates a sleeping body.

Info

See http://chipmunk-physics.net/release/Chipmunk-5.x/Chipmunk-5.3.4-Docs/ for an explanation of this routine.

Introduced in platform.apiLevel = '2.0'