Difference between revisions of "B2.Body:getLinearVelocity"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the linear velocity of the center of mass.<br /> <br /> <source lang="lua"> (number) (n...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) (number) | + | (number), (number) = b2.Body:getLinearVelocity() |
</source> | </source> | ||
'''Returns''' (number) x vector of the linear velocity<br/> | '''Returns''' (number) x vector of the linear velocity<br/> | ||
'''Returns''' (number) y vector of the linear velocity<br/> | '''Returns''' (number) y vector of the linear velocity<br/> |
Revision as of 10:21, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the linear velocity of the center of mass.
(number), (number) = b2.Body:getLinearVelocity()
Returns (number) x vector of the linear velocity
Returns (number) y vector of the linear velocity