public void Animate() { Sphere.Mesh.Move(-1 * SphereCenter); SphereCenter = MeshObject.RotateVector(SphereCenter, 0, -1 * MathF.PI / 32, 0); Sphere.Mesh.Move(SphereCenter); Cube.Mesh.Rotate(-1 * MathF.PI / 128, -1 * MathF.PI / 128, 0); }