particulary how to set torque and steer angle to the tires
In the 1.53 sdk version i had got: (basicaly)
create a VehicleJoint
NewtonConstraintCreateVehicle(...)
then set a tire callback
NewtonVehicleSetTireCallback( vehicleJoint, tireCallbackFunc )
then add tires
NewtonVehicleAddTire(...)
then set torque and steer angle to the tires from tireCallbackFunc(...)
Now i have got a class which derives from CustomRayCastCar , it works well but i don't know from where i have to call SetTireTorque(...) and SetTireSteerAngle(...) .
Is there a equivalent way to set this properties like in 1.53 version ??
i have tried to do it from the mainLoop calling myVehicle.SetTireTorque(...) but it doesn't work (as i was thinking)
( is it understandable ? , if not please tell me , i will try to do it more understandable since i write from spain and it is so difficult to me to write in english
thanks and regards !!
