I have been programming my truck game and things have been working great.
Although I cant seem to get the vehicle move in a realistic manner.
The problem ofcourse is related to the vehicle parameters, notorious of which are the
(Lateral and Longitudinal).
AsymptoteSlip
AsymptoteValue
ExtremumSlip
ExtremumValue
StiffnessFactor
I know what these parameters mean, but I am unable to tweak it for getting a truck like simulation.
Any insight on what they should be for a truck both lateral and longitudinal.
Apologies for not posting on NxOgre Forum, because I just need a general idea, I am not relating it to any physics engine as such.
Thank you
Truck Game help
-
- Goblin
- Posts: 210
- Joined: Mon Dec 12, 2011 12:52 pm
- Location: Germany
- x 34
Re: Truck Game help
Well, the problem is, that this question is very physic-engine related. I've never worked with it but i guess you're using some vehicle-class from the physx-engine?
in principle you can guess 'right' values for these parameter if you know a lot about real trucks, or are fammiliar with the physx-class but still there are big problems:
these values all depend on other values your physic engine uses:
does a length of 1 means 1 meter? 1 centimeter?
do you thus use g=9.81 or 981?
how heavy is your truck?
does a mass of 1 means 1 kg? 1g? 1t?
all this influences the behaviour of your vehicle and depending on your definiton of all the unit-values these parameters can vary in orders of magnitude.
if you want to get any useful help you should ask this in a nxogre of physx related forum and give some information about the dimensions you're using.
in principle you can guess 'right' values for these parameter if you know a lot about real trucks, or are fammiliar with the physx-class but still there are big problems:
these values all depend on other values your physic engine uses:
does a length of 1 means 1 meter? 1 centimeter?
do you thus use g=9.81 or 981?
how heavy is your truck?
does a mass of 1 means 1 kg? 1g? 1t?
all this influences the behaviour of your vehicle and depending on your definiton of all the unit-values these parameters can vary in orders of magnitude.
if you want to get any useful help you should ask this in a nxogre of physx related forum and give some information about the dimensions you're using.