Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Overlapping Ground Problem

Author
Message
Gamefreak
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location: Cyberspace
Posted: 3rd Apr 2005 12:02
Say I have a car and a kind of trailer with one set of wheels, for the purpose of describing my problem. The trailer is connected to the car by a ball-pivot joint. If the trailer is kept perfectly level with the ball joint, the wheels stick through the ground. How can I calculate how much to rotate it so the wheels rest perfectly on level ground with the car? Please don't answer "Trial and Error." Thanks.
G Man
20
Years of Service
User Offline
Joined: 17th Nov 2004
Location:
Posted: 3rd Apr 2005 16:52
I won't do all of your work for you, but I will give you a tip. The answer is simple trig. Have a look at the attached graphic...

You know the value of hh (Hitch Height) and the value of th (Trailer Height). Subtract the two. That gives you the length of one side of a triangle. The distance from the hitch to the center of the trailer's wheels gives you the second side of the triangle. You know know the length of two sides of a triangle. Now you just have to apply simple trig to calculate the angle (theta). Once you get your formula right, then it will work to rotate the trailer to its appropriate position as the vehilce is moving across terrain as well.

Intel Pentium 4, 3.4GHz, 1280MB RAM, NVidia Quadro FX3000/256MB, 240GB HD, XP Pro

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-27 20:42:50
Your offset time is: 2024-11-27 20:42:50