protected void SetupModel() { //set scale scale = 1.0f; //save bones transforms = new Matrix[model.Bones.Count]; model.CopyAbsoluteBoneTransformsTo(transforms); //give default rotation rotationMatrixX = Matrix.CreateRotationX(0.0f); rotationMatrixY = Matrix.CreateRotationY(0.0f); rotationMatrixZ = Matrix.CreateRotationZ(0.0f); //give default position position = Vector3.Zero; }