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

'enabled' attribute is missing from b2BodyDef #38

Closed
dimitrisx opened this issue Nov 21, 2021 · 2 comments · Fixed by #39
Closed

'enabled' attribute is missing from b2BodyDef #38

dimitrisx opened this issue Nov 21, 2021 · 2 comments · Fixed by #39

Comments

@dimitrisx
Copy link

The b2BodyDef (in box2d-wasm/Box2D.idl) is missing the 'enabled' attribute.

@Birch-san
Copy link
Owner

agreed; thanks for raising.

will expose this and also attend to #36 next time I have the hood open.

in the meantime: I suppose you'll have to use IsEnabled / SetEnabled() on the body after it's been created.

@Birch-san
Copy link
Owner

v7.0.0 exposes b2BodyDef#enabled

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

Successfully merging a pull request may close this issue.

2 participants