fixedRotation property
Set to true if you don't want the body to rotate. Make sure to run .updateMassProperties() if you change this after the body creation.
Implementation
bool fixedRotation;
Set to true if you don't want the body to rotate. Make sure to run .updateMassProperties() if you change this after the body creation.
bool fixedRotation;