Game Development Community

WheeledVehicle: Better wheel collision detection?

by Marc-Andre Vachon · in Torque Game Engine Advanced · 06/12/2009 (1:34 pm) · 2 replies

Hi!
I'm working on a driving game that need much better wheel collision detection than the one provided in the wheeledVehicle class. It currently only checking for collision directly under the wheels. I would need something more precise that would check at least for a 160 degree arc under the wheel.

I'm not skilled enough in coding to find a solution by myself, I'd like to know if someone have something to propose to get more precise collsion detection for wheels. It would be a single player game so I guess I could cut on performance and use a better wheel collision system.

So what you think could work?
Multiple cast ray? do there's a similar function that check for an "arc"?
Adding Bounding box?
Using a cylinder collision mesh on the wheel?

I'm a bit confused about the direction to take, so any help would be appreciated. I'm willing to pay too if a coder want to work it out. I have post a "jobs" thread there: http://www.garagegames.com/community/forums/viewthread/94093

Thanks

#1
06/23/2009 (11:50 am)
Okay sorry to bump that thread but I really want to find a solution before I get back to work intensly on my project.

At first, I tought I would receive some solution proposal replies but it seem that I can't get help with my posts here in general. Is it cause of my lack of english skill?:(

Okay, I understand it's not a very simple task but I'm sure someone have the skill to work it out. No need to full realism but at least something much better than current wheel collision detection system. I'm willing to give up to $500* if someone propose/code me an effective and solid system. (No Multiplayer/AI collisions needed )

Maybe a screenshot of my problem would help, here it is:
www.nordiklab.com/TGEfiles/devscreens/RC_wheelcollisionA.jpg
You can see the problem I want to solve with the front wheel collision. It's the only important code change I need for that project, I'd like to be sure I would be able to find a way to get more precise wheels collision in next months else I would change considerably the project.

Anyway, any help is appreciated to get through this issue. I'm waiting for a reply this time, okay?:)

*50% at start and 50% more once the system is confirm to be solid.
#2
06/23/2009 (3:58 pm)
If you're still in need of this, send me an email and we'll figure it out. You can find it in my profile.