public void SetPosition(Vector2 position) { #if USE_MATRIX_FOR_ROTATION SetTransform(position, new Mat22(GetAngle())); #else SetTransform(position, Box2DX.Common.Math.AngleToRotation(GetAngle())); #endif }