Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Adding Torque to a simple physics simulation

  1. Aug 9, 2011 #1
    I am trying to simulate a single rectangular body but I am having issues with Torque. I have an angular velocity variable (AngVel) and I have my torque calculations (Torque = Vertice:cross(Impulse)) and I get the angular acceleration (AngAccel = Torque/Inertia). The problem is that, from what I have read, the angular acceleration is a vector with the direction as the axis of rotation and the magnitude is the angle, but my angular velocity is actually a euler angle. Please correct me if I am wrong in my understanding. I just need to convert the axis-angle into a regular euler angle but I can't find how to do that. Also, How do I determine how much of the implulse is added to the velocity and how much is added to the angular velocity? Thanks for any help you can provide.
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?