Difference between revisions of "Contact:getRestitution"

m (1 revision: Importing from potato (again).)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
Get the restitution between two shapes that are in contact.
 
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Contact:getRestitution( )
+
restitution = Contact:getRestitution( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
Nothing.
+
{{param|number|restitution|The restitution between the two shapes.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Contact]]
 
* [[parent::Contact]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the restitution between two shapes that are in contact.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|Contact:getRestitution}}

Latest revision as of 10:57, 25 March 2011

Get the restitution between two shapes that are in contact.

Function

Synopsis

restitution = Contact:getRestitution( )

Arguments

None.

Returns

number restitution
The restitution between the two shapes.

See Also


Other Languages