Sorry for my questions.
i have 4 questions:
wheelShapeDesc.lateralTireForceFunction.asymptoteValue = 2.0;
wheelShapeDesc.lateralTireForceFunction.asymptoteSlip = 0.2;
You said me that asymptoteValue,asymptoteSlip will not used when we are using NX_WF_CLAMPED_FRICTION flag, but here when i change the parameters values, i have different car physic.
I think the parameters is used when NX_WF_CLAMPED_FRICTION exists, or im in wrong!?
After using NxVehicle and NxWheel parameters exactly such as buggy.cfg , my car is not same as ThunderWheel vehicle, My car is slow and player can not control it such as ThunderWheel cars.
Code: Select all
vehicleDesc.mass = 1150;
vehicleDesc.digitalSteeringDelta = 0.04f;
vehicleDesc.steeringMaxAngle = 30.0;
vehicleDesc.motorForce = 13200.0;
vehicleDesc.maxVelocity = 440;
wheelShapeDesc.inverseWheelMass = 1.0f; //n ot given!? TODO
wheelShapeDesc.lateralTireForceFunction.extremumSlip = 0.7;
wheelShapeDesc.longitudalTireForceFunction.extremumSlip = 0.7;
wheelShape = static_cast<NxWheelShape *>(actor->createShape(wheelShapeDesc));
wheelShape->setWheelFlags( NX_WF_CLAMPED_FRICTION| NX_WF_WHEEL_AXIS_CONTACT_NORMAL );
Is there anythings that i did wrong?
My car wheels accumulate forces, I explore in following :
For example when player keep "left" button for 3 seconds , one side of car wheels suspension grow.
When the player release the "left" button, The car continue turning and seems that the player did not released the key!The suspension will comeback to normal state after 2 seconds! but really why?! why this happen. The problem only occur only when i use NX_WF_CLAMPED_FRICTION.
Any idea to solve that?
When my car is steering/turning, my engine RPM reduce and also my car speed reduce with that!
I played some days with NxVehicle parameters.
I detected that vehicleDesc.steeringSteerPoint and vehicleDesc.steeringTurnPoint parameters can affect the problem.
I don't know how can i choice the parameters value?
Thank you for your helps.