Difference between revisions of "Contact (Français)"
m (Fix parent) |
|||
Line 14: | Line 14: | ||
* [[parent::Object (Français)]] | * [[parent::Object (Français)]] | ||
== Voir également == | == Voir également == | ||
− | * [[parent::World:setCallbacks]] | + | * [[parent::World:setCallbacks (Français)]] |
− | * [[parent::World:getContactList]] | + | * [[parent::World:getContactList (Français)]] |
* [[parent::love.physics (Français)|love.physics]] | * [[parent::love.physics (Français)|love.physics]] | ||
− | [[Category:Types]] | + | [[Category:Types (Français)]] |
{{#set:Description=Les Contacts sont des objets crées pour gérer les collisions parmis les mondes.}} | {{#set:Description=Les Contacts sont des objets crées pour gérer les collisions parmis les mondes.}} | ||
{{#set:Since=000}} | {{#set:Since=000}} | ||
== Autres langues == | == Autres langues == | ||
{{i18n|Contact}} | {{i18n|Contact}} |
Revision as of 22:14, 16 January 2022
Les Contacts sont des objets crées pour gérer les collisions dans les mondes.
Fonctions
Contact:getChildren | Gets the child indices of the shapes of the two colliding fixtures. | 0.9.0 | |
Contact:getFixtures | Gets the two Fixtures that hold the shapes that are in contact. | 0.9.2 | |
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. | 0.8.0 | |
Contact:getPositions | Returns the contact points of the two colliding fixtures. | 0.8.0 | |
Contact:getRestitution | Get the restitution between two shapes that are in contact. | ||
Contact:getSeparation | Get the separation between two shapes that are in contact. | 0.8.0 | |
Contact:getVelocity | Get the linear impact velocity of a contact. | 0.8.0 | |
Contact:isEnabled | Returns whether the contact is enabled. | 0.8.0 | |
Contact:isTouching | Returns whether the two colliding fixtures are touching each other. | 0.8.0 | |
Contact:resetFriction | Resets the contact friction to the mixture value of both fixtures. | 0.8.0 | |
Contact:resetRestitution | Resets the contact restitution to the mixture value of both fixtures. | 0.8.0 | |
Contact:setEnabled | Enables or disables the contact. | 0.8.0 | |
Contact:setFriction | Sets the contact friction. | 0.8.0 | |
Contact:setRestitution | Sets the contact restitution. | 0.8.0 | |
Object:release | Immediately destroys the object's Lua reference. | 11.0 | |
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. | 0.8.0 |
Supertypes
Voir également
Autres langues
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