Difference between revisions of "Contact:getVelocity"
(Initial Portuguese translation) |
|||
Line 1: | Line 1: | ||
− | + | == Function == | |
− | == | + | Get the linear impact velocity of a contact. |
− | === | + | === Synopsis === |
<source lang="lua"> | <source lang="lua"> | ||
vx, vy = Contact:getVelocity( ) | vx, vy = Contact:getVelocity( ) | ||
</source> | </source> | ||
− | === | + | === Arguments === |
− | + | None. | |
− | === | + | === Returns === |
− | {{param|number | + | {{param|number|vx|The x component of the velocity vector.}} |
− | {{param|number | + | {{param|number|vy|The y component of the velocity vector.}} |
− | == | + | == See Also == |
− | * [[parent::Contact | + | * [[parent::Contact]] |
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Get the linear impact velocity of a contact.}} |
− | |||
− |
Revision as of 20:20, 22 January 2011
Function
Get the linear impact velocity of a contact.
Synopsis
vx, vy = Contact:getVelocity( )
Arguments
None.