Hey guys, i use for some time the APE but i want to use Box2D now!
I make some hello worlds, an all is good at now!
But i have some questions:
if i create one object with mass = 0;
And with some event i want to set a new mass to this object, to this become influencied by Gravity, how i do that?
If i simple use:
var newMass:b2MassData = new b2MassData();
newMass.mass = 1.0;
bb.SetMass(newMass);
The object now have a Mass, but this not rotate anymore! :S
I make some hello worlds, an all is good at now!
But i have some questions:
if i create one object with mass = 0;
And with some event i want to set a new mass to this object, to this become influencied by Gravity, how i do that?
If i simple use:
var newMass:b2MassData = new b2MassData();
newMass.mass = 1.0;
bb.SetMass(newMass);
The object now have a Mass, but this not rotate anymore! :S