Difference between revisions of "Contact"
Line 1: | Line 1: | ||
Contacts are objects created to manage collisions in worlds. | Contacts are objects created to manage collisions in worlds. | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::Contact | + | {{#ask: [[Category:Functions]] [[parent::Contact||Object]] [[Since::<071]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description |
Revision as of 17:43, 25 March 2011
Contacts are objects created to manage collisions in worlds.
Functions
Contact:getFriction | Get the friction between two shapes that are in contact. |
Contact:getNormal | Get the normal vector between two shapes that are in contact. |
Contact:getPosition | Get the location of the contact point between two shapes. |
Contact:getRestitution | Get the restitution between two shapes that are in contact. |
Contact:getSeparation | Get the separation between two shapes that are in contact. |
Contact:getVelocity | Get the linear impact velocity of a contact. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
World:setCallbacks | Sets functions to be called when shapes collide. |
Supertypes
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