toLocalFrame(out, worldPoint)
Transform a world point to local body frame.
Parameters
Name Type Description out Float32Array | Array The vector to store the result in. worldPoint Float32Array | Array The input world vector.
Source code: physics/p2/Body.js (Line 624)