syncShapes method
void
syncShapes()
Implementation
void syncShapes() {
rotation.setQuat(orientation );
rotateInertia(rotation, inverseLocalInertia, inverseInertia );
for(Shape? shape = shapes; shape!=null; shape = shape.next){
shape.position.copy( shape.relativePosition ).applyMatrix3(rotation, true ).add(position );
//shape.relativePosition.applyMatrix3(rotation, true ).add(position );
// add by QuaziKb
shape.rotation.multiplyMatrices(rotation, shape.relativeRotation );
shape.updateProxy();
}
}