Hi,
Sometimes you may need to make some of your b2Body non rotating or static while using Box2D physics engine.
For making any body static use the following line of code.
UrbodyDef.fixedRotation = true;
🙂
Hi,
Sometimes you may need to make some of your b2Body non rotating or static while using Box2D physics engine.
For making any body static use the following line of code.
UrbodyDef.fixedRotation = true;
🙂