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

b2Body missing SetPosition/SetAngle #43

Closed
AshleyScirra opened this issue Nov 12, 2013 · 1 comment
Closed

b2Body missing SetPosition/SetAngle #43

AshleyScirra opened this issue Nov 12, 2013 · 1 comment

Comments

@AshleyScirra
Copy link

As far as I can tell the bindings for b2Body are missing the SetPosition and SetAngle functions. Can support for these be added? Is there a workaround?

@AshleyScirra
Copy link
Author

Sorry, my bad - looks like you just need to use body.SetTransform instead. It's a minor variation from the Box2DWeb API which for some reason got individual SetPosition and SetAngle functions.

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