Physics.P2.Body#getVelocityAtPoint()

getVelocityAtPoint(result, relativePoint) → {Array}

Gets the velocity of a point in the body.

Parameters
Name Type Description
result Array

A vector to store the result in.

relativePoint Array

A world oriented vector, indicating the position of the point to get the velocity from.

Returns
Array -

The result vector.

Source code: physics/p2/Body.js (Line 502)
doc_phaser
2017-02-14 11:02:04
Comments
Leave a Comment

Please login to continue.