private void UpdateBodyShape()
{
if (this.body == null) return;
this.isUpdatingBody = true;
this.lastScale = this.gameobj.Transform.Scale;
if (this.shapes != null)
{
foreach (ShapeInfo info in this.shapes) info.UpdateFixture();
}
this.body.CollisionCategories = this.colCat;
this.body.CollidesWith = this.colWith;
this.body.IsSensor = this.isSensor;
this.UpdateBodyMass();
this.AwakeBody();
this.isUpdatingBody = false;
}