Difference between revisions of "Body:destroy"
m (included link to other languages) |
(Slightly different wording for the current version.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Explicitly destroys the Body. | + | Explicitly destroys the Body and all fixtures and joints attached to it. |
− | + | ||
− | may be used to free the object immediately | + | An error will occur if you attempt to use the object after calling this function. In 0.7.2, when you don't have time to wait for garbage collection, this function may be used to free the object immediately. |
− | + | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 15: | Line 15: | ||
* [[parent::Body]] | * [[parent::Body]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Explicitly destroys the Body. | + | {{#set:Description=Explicitly destroys the Body.}} |
− | }} | + | {{#set:Since=000}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Body:destroy}} | {{i18n|Body:destroy}} |
Latest revision as of 22:21, 12 April 2012
Explicitly destroys the Body and all fixtures and joints attached to it.
An error will occur if you attempt to use the object after calling this function. In 0.7.2, when you don't have time to wait for garbage collection, this function may be used to free the object immediately.
Function
Synopsis
Body:destroy( )
Arguments
None.
Returns
Nothing.
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