Body:getLinearVelocityFromLocalPoint


Function

Synopsis

vx, vy = Body:getLinearVelocityFromLocalPoint( x, y )

Arguments

number x
The x position to measure velocity.
number y
The y position to measure velocity.

Returns

number vx
The x component of velocity at point (x,y).
number vy
The y component of velocity at point (x,y).

See Also