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.

Dark Game SDK
Years of Service
User Offline
Joined: 9th Sep 2005
Posted: 9th Sep 2007 12:36

I am looking for the best approach to combine DB Vehicle PhysX and DB AI. I'd like to make a vehicle folow automaticaly a certain object in the scene. The PhysX behaviour of the vehicle should work in the same manner as it would be moved by arrow keys.

Unfortunatelly I did not find any suitable command in the list of the DB PhysX API set. Or, I am overseeing something?

Years of Service
User Offline
Joined: 15th Dec 2005
Location: Rochester, NY
Posted: 9th Sep 2007 14:20 Edited at: 9th Sep 2007 14:21
IMHO, the best way would be for Dark AI to find the path, and then save it's waypoints. Now DP would take over. It sees if the waypoint is the the left or right of it, and then DP moves the car by steering it accordingly. Seeing as the waypoints are usually where turns are made, it might be OK to have DP slow down the vehicle if it's close to the waypoints, but then speed it up again after that.

Hope that helps!


Coming soon...

Login to post a reply

Server time is: 2023-12-01 20:24:04
Your offset time is: 2023-12-01 20:24:04