Difference between revisions of "World:setCallbacks"
m (1 revision: Imported docs from potato.) |
|
(No difference)
|
Revision as of 15:54, 14 February 2010
Function
Synopsis
World:setCallbacks( add, persist, remove, result )
Arguments
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...
Returns
Nothing.