Game Development Community

Issue with vehicle steering...

by Justin Woodman · in Torque Game Engine · 12/01/2004 (12:07 pm) · 7 replies

As said in the title, I am having a problem steering my custom vehicle. First off, its not really custom, all I did was made a box, put an eye node, a cam node, and then put:

hub0 on front left of box
hub1 on front right
hub2 on back left
and hub3 on back right.

I put a collision box on, made sure it covers the hub nodes, and exported it as buggy.dts (using milkshape BTW). I just replaced the origional buggy.dts. Now the problem is, that when I drive the vehicle forewards and steer left/right with the mouse the front tires steer fine (back dont steer, which is good) but the control is horrible. if I steer it all the way right and drive it foreward, it barely moves off of a strait line (it seems that it does turn a tiny bit). However, if I'm driving the box backwards and steering, it handles great. It couldn't turn better.

Any idea why this could be happening?

thanks,
Justin Woodman

#1
12/01/2004 (12:30 pm)
This is just a guess, but you may need to rotate your hub nodes in milkshape.
#2
12/01/2004 (12:53 pm)
Try this

HTH
#3
12/01/2004 (1:50 pm)
Thank you both for your responses. Firstly, Brian, I do not believe you can rotate hub nodes in milkshape, but the nodes are Identacle in every way (rotation included) to the ones in the origional buggy, and they still dont work. thanks for the suggestion anyway.
Bruno, I played with some of the things in that post, and everything having to do with yaw has no effect on how the vehicle handles. Thank you for looking though. Well, I guess it is still a problem so suggestions are still welcome :)
#4
12/01/2004 (2:07 pm)
Change maxsteeringangle in car.cs to fgit your needs.

Also, another good thing to change which helps sometimes is change bodyrestitution, If you change it to like .3 or so it helps somewhat but it seems to slow down torque, so make it to fit your needs. Hope this helps.
#5
12/01/2004 (2:17 pm)
You can rotate the nodes in Milkshape. That's how you define what direction a person will sit when they mount something. I'm sure it has some sort of affect on the wheels as well.
#6
12/01/2004 (2:47 pm)
Ok, thanks guys, for my vehicles, I ended up messing with maxsteeringangle and putting it quite a bit higher, and it seems to work now. Thanks for the help!
and brian, I see what you mean now. I guess I just diddnt know how to rotate the nodes. Thought you could do it with the rotate button, but you have to use one of the more advanced options. I rotated them a bunch of different ways though, then tested it, and It doesnt seem to help much. Thanks for the suggestion anyways.
#7
12/01/2004 (11:55 pm)
4/6/8 wheel vehicle creation in Milkshape 3D
covers how to "rotate" a hub or mount in Milkshape