Javascript (box2dweb) loader
Posted: Fri Nov 29, 2013 4:17 pm
Hi Iforce2d,
Thanks for your box2d editor and tutorials.
I have some simple questions about the custom properties. You mentioned that we can retrieve a list of all items matching a given value with the getXXXByCustomProperty() functions. But I think only the "Bodies" could replace the XXX part. I also checked the loadrube.js , and there's no getFixturesByCustomProperty() functions. Is that possible to get a complete loader file?
And I'd like to know after I load the scenes from .json file, how can I change the fixture which I created by the box2d editor. Actually, I want to add some body to the world created by the editor.
Thanks for your box2d editor and tutorials.
I have some simple questions about the custom properties. You mentioned that we can retrieve a list of all items matching a given value with the getXXXByCustomProperty() functions. But I think only the "Bodies" could replace the XXX part. I also checked the loadrube.js , and there's no getFixturesByCustomProperty() functions. Is that possible to get a complete loader file?
And I'd like to know after I load the scenes from .json file, how can I change the fixture which I created by the box2d editor. Actually, I want to add some body to the world created by the editor.