Difference between revisions of "World:getCallbacks"

m (1 revision: Importing from potato (again).)
m (included link to other languages)
Line 1: Line 1:
 
 
Get functions to be called when two shapes collide.
 
Get functions to be called when two shapes collide.
 
== Function ==
 
== Function ==
Line 17: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Get functions to be called when two shapes collide.}}
 
{{#set:Description=Get functions to be called when two shapes collide.}}
 +
== Other Languages ==
 +
{{i18n|World:getCallbacks}}

Revision as of 11:46, 22 January 2011

Get functions to be called when two shapes collide.

Function

Synopsis

add, persist, remove, result = World:getCallbacks( )

Arguments

None.

Returns

function add
Called when two shapes first collide.
function persist
Called each frame, if collision lasts more than 1 frame.
function remove
Called when two shapes finish colliding.
function result
No idea. Never seems to be called...

See Also

Other Languages