Jump to content
• Advertisement

# Rigid body rotation and movement

This topic is 2952 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

I am experimenting with a 2D physics simulation regarding rigid bodies,
Given the situation described in the picture:
1) A resting rigid body of: Mass of M, Angular Mass of I, and a length of 2r (a radius of r). (The mass is elongated and completely flat)
2) Two forces at both ends perpendicular to the mass.

I need to figure out the torque and acceleration of said mass.
Integrating the torque is easy (just sum up the sum of torques generated by the forces)

But now comes the tricky part... How do I calculate the linear acceleration of the mass (the rate at which the centre is accelrating)?

Intuitively I think it's a=2*(0.5 F)/M or a=F/M (just deriving this from pulley and tension physics I remember from high-school)

But also, I need a clear algorithm (not just intuition) to figure out the mass's accelration.
Also, In the real simulation there would be more than two forces acting on the mass.

I'm thinking maybe I can calculate this via conservation of momentum: After summing up the torques and forces:
Accelerating_Force_Of_Center_Of_Mass = Sum_Of_Forces_Applied * (1 - |Sum_Of_Resulting_Tourques| )

So how do I find the acceleration of the centre of the mass?

#### Share this post

##### Share on other sites
Advertisement
Actually, the linear accelleration is just the sum of all linear forces divided by mass so in your example, it's just 1.5F/M downwards, it doesn't matter where these forces are applied the linear acceleration is still the same.

Thanks

#### Share this post

##### Share on other sites

• Advertisement
• ### Game Developer Survey

We are looking for qualified game developers to participate in a 10-minute online survey. Qualified participants will be offered a \$15 incentive for your time and insights. Click here to start!

• Advertisement

• ### Popular Now

• 9
• 9
• 11
• 15
• 21
• Advertisement
×

## Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!