Game Development Community

Trucks

by Quentin Headen · in Torque Game Engine · 06/22/2006 (9:19 pm) · 3 replies

I wanted to know how to make a trailer attach to a truck during the game. I wanted to just make the cab, then when you pull up to a trailer, you can attach it to the cab. I modeled a truck cab w/ the trailer but the whole thing turned like it was one piece. I want the trailer to do two things.

1) I want it to attach to the cab during the game.
2) I want the trailer to turn separately frome the cab just like a real truck.

Please help me with this guys.

Thanks

About the author

Just your average programmer who tries to finish the projects he starts. :) I am currently focused on creating games with Torque engines. My website is http://phaseshiftsoftware.com


#1
07/11/2006 (7:50 am)
When you get that done let me know I have been working on a trailer class for some time, I got everything set up except the physics for the constraint, if you are knowledgeable with higher math and physics let me know and we can exchange code.
#2
07/11/2006 (9:18 am)
I would also like to know I am going to staring the process of doing so any help would be most grateful so I know were to start.
#3
04/15/2009 (4:30 am)
@Anthony

Hello Anthony, we are currently working on a truck game and we would like to have a trailer, we are very experienced with the physics but not too much with Torque, it's less a month we are using it. What happend with ur trailer class? Can we exchange some code/know-how?