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)
Please login to continue.