Has anyone using Newtons been succesful with these functions:
Code:

// NewtonGetTyreSteerParam:
// Description: return the parametric steer angle for this tyre
// Parameters: vehicleConst
// tyreIndex
// remark:
dllfunction NewtonGetTyreOmega (vehicleConst, tyreIndex);
dllfunction NewtonGetTyreRadius (vehicleConst, tyreIndex);
dllfunction NewtonGetTyreInertia (vehicleConst, tyreIndex);
dllfunction NewtonGetTyreSteerParam (vehicleConst, tyreIndex);
dllfunction NewtonGetTyreNormalLoad (vehicleConst, tyreIndex);
dllfunction NewtonGetTyreLateralSpeed (vehicleConst, tyreIndex);
dllfunction NewtonGetTyreLongitudinalSpeed (vehicleConst, tyreIndex);


// NewtonGetTyreSteerParam:
// Description: return the parametric steer angle for this tyre
// Parameters: vehicleConst, tyreIndex, paramtricAngle
// remark:
dllfunction NewtonSetTyreSteerParam (vehicleConst, tyreIndex, paramtricAngle);
dllfunction NewtonSetTyreLateralFrictionCoef (vehicleConst, tyreIndex, frictionCoef);
dllfunction NewtonSetTyreLongituFrictionCoef (vehicleConst, tyreIndex, frictionCoef);
dllfunction NewtonSetTyreTorque (vehicleConst, tyreIndex, torque);



I tried using NewtonGetTyreOmega, but it crashes on me when the function calls. I am calling it like this:
tireSpeed = NewtonGetTyreOmega(my.myVehicleConstraint,0);

I get a crash in NewtonGetTyreOmega error. I am sure it is my parameters, but I don't know the correct ones.

Thanks

-raiden


"It doesn't matter if we win or lose, it's how we make the game."
--------------------
Links: 3DGS for Dummies