Original Post
Hi, I'm having trouble trying to come up with a rotation matrix that transforms a pendulum at a particulur time. So let's say I want to animate a clock pendulum located at the origin with the pendulum weight hanging down vertically (-Y axis) in the XY plane. The pendulum swings through k radians from end to end, this takes m seconds. The pendulum is at one extreme at k/2 radians at time t = 0. One swing of the pendulum is defined by the function sin(a), where -pi/2 <= a <= pi/2 Now the problem is what is the rotation matrix that would give the the transformation of the pendulum at any given time t, to animate the oscillating pendulum. Can anyone help me out? [Edited by - LordG on October 17, 2004 4:11:49 PM]