Difference between revisions of "Contact:getVelocity"

(Undo revision 4959 by Minicz (Talk))
m (included link to other languages)
Line 1: Line 1:
 +
Get the linear impact velocity of a contact.
 
== Function ==
 
== Function ==
Get the linear impact velocity of a contact.
 
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Line 14: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Get the linear impact velocity of a contact.}}
 
{{#set:Description=Get the linear impact velocity of a contact.}}
 +
== Other Languages ==
 +
{{i18n|Contact:getVelocity}}

Revision as of 20:20, 22 January 2011

Get the linear impact velocity of a contact.

Function

Synopsis

vx, vy = Contact:getVelocity( )

Arguments

None.

Returns

number vx
The x component of the velocity vector.
number vy
The y component of the velocity vector.

See Also

Other Languages