Difference between revisions of "Contact:getFriction"

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

Latest revision as of 10:57, 25 March 2011

Get the friction between two shapes that are in contact.

Function

Synopsis

friction = Contact:getFriction( )

Arguments

None.

Returns

number friction
The friction of the contact.

See Also


Other Languages