Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for vectorToWorldFrame() incorrect #176

Open
gnbl opened this issue Feb 28, 2023 · 0 comments
Open

Documentation for vectorToWorldFrame() incorrect #176

gnbl opened this issue Feb 28, 2023 · 0 comments

Comments

@gnbl
Copy link

gnbl commented Feb 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant