WheeledVehicleTire datablock typo
by Matthew Jessick · in Torque Game Engine · 10/30/2007 (2:40 pm) · 3 replies
void WheeledVehicleTire::initPersistFields()
{
...
addField("logitudinalRelaxation", TypeF32, Offset(longitudinalRelaxation, WheeledVehicleTire));Variable name is misspelled: should be LONGitudinal rather than LOGitudinal
(Edit: the "field name" is the problem - this only affects initializing the datablock.)
Not a problem for the buggy, as the 1m value happens to be the default.
For anything else, this is an important and subtle parameter in the longitudinal force equations. If you have tried to change it and not gotten much response, this typo might be why.
Torque Owner Mike Rowley
Mike Rowley