Unanswered Rotation animation problem

  • Monday, July 10, 2006 8:27 PM
     
     

    Hello

    I was traying to animate a rotation by using the following code:

    RotateTransform3D myRotateTransform = new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0, 1, 0), 1));

    Vector3DAnimation myVectorAnimation = new Vector3DAnimation(new Vector3D(0, -1, 0), new Duration(TimeSpan.FromMilliseconds(1000)));
       myRotateTransform.Rotation.BeginAnimation(AxisAngleRotation3D.AxisProperty, myVectorAnimation);
     

    But none animation happens. How to solve the problem?

    Thanks