Difference between revisions of "Contact:getRestitution"

m (1 revision: Importing from potato (again).)
(add detail)
Line 1: Line 1:
 
  
 
== Function ==
 
== Function ==
 +
Get the restitution between two shapes that are in contact.
 
=== 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.}}

Revision as of 17:56, 6 March 2010

Function

Get the restitution between two shapes that are in contact.

Synopsis

restitution = Contact:getRestitution( )

Arguments

None.

Returns

number restitution
The restitution between the two shapes.

See Also