Difference between revisions of "World:getCallbacks"
m (included link to other languages) |
|||
Line 16: | 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.}} | ||
+ | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|World:getCallbacks}} | {{i18n|World:getCallbacks}} |
Revision as of 17:52, 25 March 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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info