image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Physics > Classical Physics


Reply

image Rigid body dynamics Share It Thread Tools Search this Thread image
Old Jun14-06, 02:06 PM                  #1
Vasco_F

Vasco_F is Offline:
Posts: 3
Rigid body dynamics

Hi,

I'm developing a video game, in which I'm making a charactar with rigid-body physics (sometimes called "ragdoll" physics). The way I've made it is probably not completely realistic, because I only use velocity vectors to calculate the position of each joint of the "ragdoll", based on an initial velocity vector applied to a joint. If you want to check it out, you can download it here.

The way I do this is illustated in this image here.


Anyway, the problem I have now is how to calculate the velocity vector of joints that make an angle that is restricted (an angle that shouldn't get any bigger, for example). Please see this simplified diagram that illustrates my problem: Diagram

In the diagram, how should I calculate vectors v1 and v2? Note that in the diagram, the entire body should be rigid, because of the angle restriction.

I would truly appreciante any help on this...
  Reply With Quote
Old Jun14-06, 04:50 PM                  #2
Hootenanny
 
Hootenanny's Avatar

Hootenanny is Offline:
Posts: 8,929
Recognitions:
PF Contributor PF Contributor
Homework Helper Homework Helper
Science Advisor Science Advisor
Retired Staff Retired Staff
If I understand the problem correctly, that the indicated angle should remain constant? Then solution is simply;

LaTeX Code: \\vec{v} = \\vec{v_{1}} = \\vec{v_{2}}
  Reply With Quote
Old Jun14-06, 05:03 PM                  #3
Vasco_F

Vasco_F is Offline:
Posts: 3
That's what I though at first, but that's not correct because the whole body should rotate, until the rotation stabilizes when the body is in kind of a horizontal position (I don't know how to explain it better but if you don't understand I'll draw a diagram). Imagine you have something shaped like a "V" on a table and you drag one end.
  Reply With Quote
Old Jun15-06, 01:46 AM                  #4
pervect

pervect is Offline:
Posts: 5,369
Recognitions:
Science Advisor Science Advisor
Retired Staff Retired Staff
The motion of a rigid body can be specified by giving:

1) the motion of a specific point (pick a point, say for instance point 1, and use it as a reference).

2) the angular velocity of rotation (done by specifying an axis of rotation and an angular velocity, i.e. a vector LaTeX Code: \\hat{\\omega} .

The formula for the velocity LaTeX Code: v_i of any point with coordinates LaTeX Code: r_i will be:

LaTeX Code: <BR>v_i = v_{ref} + \\hat{w} \\times (r_i - r_{ref})<BR>

LaTeX Code: v_{ref} is the velocity of the reference point
LaTeX Code: r_{ref} are the coordinates of the reference point
LaTeX Code: r_i - r_{ref} is the difference in coordinates between the reference point and the arbitrary point LaTeX Code: r_i which has the velocity LaTeX Code: v_i .

Hopefully you are familiar with the vector cross product, if not try reading

http://en.wikipedia.org/wiki/Cross_product

and ask questions as needed.
  Reply With Quote
Old Jun15-06, 10:47 AM                  #5
Vasco_F

Vasco_F is Offline:
Posts: 3
Thank you!

I just didn't understand one thing, how do I know what's the axis of rotation and angular velocity?
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Rigid body dynamics
Thread Thread Starter Forum Replies Last Post
Rigid body dynamics question alextex Classical Physics 1 May19-08 05:58 PM
Rigid body dynamics aligass2004 Introductory Physics 19 Oct20-07 03:31 AM
Dynamics - rigid body motion greenman100 Engineering, Comp Sci, & Technology 2 Oct5-05 12:55 AM
Rigid Body Dynamics! Zenshin Introductory Physics 0 Oct27-04 04:55 PM
Molecular Dynamics vs Rigid Body Dynamics alpha_wolf General Physics 4 Jun9-04 05:12 AM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image