1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Rigid body physics simulation math issue

  1. Apr 9, 2015 #1
    Hey all, I'm making a physics simulation for training an algorithm of mine, I'm running into issues on the rigid body physics simulation. Let's say I have a leg composed of a calf and a thigh. gravity will be acting on both, and the calf is attached to the thigh, Any suggestions on how I would go about calculating the new thigh and calf positions and rotations? Any help appreciated.

    leg.png
     
  2. jcsd
  3. Apr 9, 2015 #2

    jedishrfu

    Staff: Mentor

    I think you need a connecting point like a joint so that as you rotate the thigh rectangle the joint rotates and/or changes position and then you use the joint's new position to calculate the position of the calf object.

    So in your fig 1 diagram you need a red dot between to the two rectangles to represent the pivot point of the joint and you need a corresponding red dot in the fig 2 diagram.
     
  4. Apr 9, 2015 #3
    they are connected, i just did not draw it in, sorry.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Rigid body physics simulation math issue
  1. Rigid Body Physics (Replies: 3)

Loading...