Jump to content
  • Advertisement
Sign in to follow this  
johnnyBravo

How to calculate linear and angular velocity of a 3d object pushed at a certain point

This topic is 4818 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I've got a got a triangular pyramid and if I were to push one of it's surfaces at a certain point, direction and force, I want to be able calculate its linear and angular velocity as a result of that. So what equations would I use to do this? eg using mass, torque etc. Thanks

Share this post


Link to post
Share on other sites
Advertisement
A classic reference on the subject is the series of papers by David Baraff. I'm not sure where to find these online, though (anyone have a link?). Another great reference is Chris Hecker's articles.

Share this post


Link to post
Share on other sites
Ok what I've got so far is:

Vector3 pushPoint(5,3,10);
Vector3 force(3,3,3);
Vector3 torque = (pushPoint-objectPosition).getCrossProduct(force);

linearVelocity+=force;
angularVelocity+=torque;




Except right now I'm not sure if this is very correct, and how would I incorporate the mass of the object having any effect on the force and the amount of the object's linear and angular velocity.

btw I'm finding those tutorials a bit hard to get by so bear with me :), as i've forgotten alot about calculus.

thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!