Difference between revisions of "Contact:getVelocity"

m (included link to other languages)
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.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Contact:getVelocity}}
 
{{i18n|Contact:getVelocity}}

Revision as of 10:57, 25 March 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