Can we access b2Bodydef and b2Fixturedef from our created bodies or we have to keep the pointer? And if we do have to keep a pointer, is there another to access userdata or we to go thru b2Bodydef and b2Fixturedef?
Accessing b2Bodydef and b2Fixturedef
FlashThe defs are not the real things - they are just arguments to the constuctors, because otherwise there would be so many arguments it would be a pain.
THe real things are b2Body and b2Fixture - these are returned by the respective Create*() function.s
THe real things are b2Body and b2Fixture - these are returned by the respective Create*() function.s
Original thread: https://box2d.org/forum/viewtopic.php?t=4978