IsCollisionTest

From MaratisWiki
Jump to: navigation, search

isCollisionTest(object)

Detect if an object is colliding with something.

  • object : object to operate on

Example: Will display Collision! in maratis console window if there's a collision for object1.

   object1 = getObject("object1")
   function onSceneUpdate()
       if isCollisionTest(object1) then print("Collision!") end
   end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox