Activate
From MaratisWiki
Revision as of 00:15, 9 February 2014 by Dahnielson (Talk | contribs)
activate(object)
Activates an object wich was already in the 3d scene but deactivated.
-
object
: object to operate on
object = getObject("object") deactivate(object) function onSceneUpdate() if isKeyPressed("UP") then activate(object) end if isKeyPressed("DOWN") then deactivate(object) end end