Advertisement Jump to content
Sign in to follow this  
CrashyCartman

Landing gear problem

This topic is 1818 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 Gamedev !

 

First, I'm not accustomed with the english math and physics terms so I may use wrong words to describe things.

I'm trying to simulate a landing gear using raycast, springs and dampers. I've got almost everything working, except one little but annoying problem.

 

Basically here are the forces I have right now:

 

gear_problem.jpg

 

 

In red, the weight and in blue the suspension forces, arrow lengths are not reflecting real magnitude values ;)

 

Now my problem is that my aircraft rolls backward. I understand why because the suspension forces have an horizontal compound.

What I don't understand is what am I missing ? What happens in real life in such a situation ?

 

I've thought about static friction (or something like a rolling resistance) but this doesn't seems to be the correct answer to my problem.

 

Thanks for any help !

 

 

 

Share this post


Link to post
Share on other sites
Advertisement

Your suspension force should be upward:
The force is the one of the gravity against the ground at your wheels.
If the ground is flat, your force is upward.

For it to be tilted you would have to be on a slope.

Only when you represent the reaction (retractation or expansion) of the suspension to the ground would you then multiply against the suspension axis.

Share this post


Link to post
Share on other sites

glechapelain is correct wtih regard to the forces applied to the body (fuselage) of the plane.

 

If you're simulating the landing gear and torques in addition to forces, note that there will be a clockwise torque on the landing gear which must be accounted for.

 

torque.jpg

 

The torque on the landing gear is shown in red and is proportional to the upward (blue) force x the moment arm ("d"). A torque in the opposite direction will be applied to the body of the plane.

Share this post


Link to post
Share on other sites

Thank you guys, I've changed the force direction, now it is the same as the "contact" normal, and it works like a charm.

 

The torque thing was already done :)

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.

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!