pmndrs/cannon-es

Documentation for vectorToWorldFrame() incorrect

gnbl opened this issue · 0 comments

gnbl commented

vectorToWorldFrame() is described with Convert a local body point to world frame. but it should be something like Convert a local vector to world vector. and maybe hint that it rotates the vector with the body quaternion.

https://github.com/pmndrs/cannon-es/blob/master/src/objects/Body.ts#L625