Game Development Community

AIWheeledVehicle and forum problems

by Christopher Evans · in Torque Game Engine · 01/20/2009 (9:30 am) · 2 replies

I posted this yesterday, and saw it on the site. But when I came back today it disappeared. So I am posting it again.

I am using TGE 1.5.2. I have a mission that has a lot of hills. And I have a path that the AI is following. Now the issue is when the AI try to go up a hill it either goes really slowly or starts going backwards. But most of the time it gets stuck. I am wondering has anyone else had this issue or know how to fix it?

Any insight and help would be appreciated.

#1
01/20/2009 (10:46 am)
I did run into this problem before.
I think it had to do with the engine power.

One other thing it could be is if the slope is real steep the steering vectors go into gimbal lock.
#2
01/20/2009 (11:20 am)
I tripled the engine torque value and now at least one AI gets to the end of the race. Which is much better then what I had before. :)

I still have the problem where some of the AI can't go up the hill and start going backwards.

I was fear full that I will have to convert the code into quaternions, or something alone those lines.

Bill, thanks for the help.