-
Notifications
You must be signed in to change notification settings - Fork 196
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
"b2MassData" is not bound / is not accessible. #38
Comments
You can "trick" the old bindings generator into generating code for something by making it a class with a constructor. This makes it be bound, but I did not test beyond seeing it shows up as Box2D.b2MassData:
|
Yes, that's correct. Do you suggest this "trick" as an official fix? Although it may work in this instance, it does not seem viable for other similar cases. For example, Not sure why it makes a difference but it does...
Sorry for not providing an exact error message. I'm simply recalling from memory the events I experienced with your port a couple weeks ago. |
Same here, I wanted to change the mass of an object during the execution but I cant see how is it possible if b2MassData is not visible. |
It could be an official fix, yeah ;) the problem is the old bindings An enum should not matter, but perhaps I forgot yet another weirdness in On Wed, Jul 17, 2013 at 8:57 AM, jagenjo notifications@github.com wrote:
|
Test case:
box2d.js/html5canvas_demo/testbed.html
in browser.massData = new Box2D.b2MassData();
in console.Error:
TypeError: undefined is not a function
The text was updated successfully, but these errors were encountered: