LCpl Aaron 11 Posted November 16, 2014 So i have RedPhonix suspension spread sheet and it works for the most part but im having an issue getting the enough extension from the suspension. even with maxCompression = 1 the suspension is still lower than it is in the model p3d file. What am i missing exactly? when i go over a value of 1 the suspension is fully extended but will not be effected by mMaxDroop and the rear wheel will hang in the air during turns. I have tried tweaking the model config to allow for greated offset values but to no success yet. Any help would be greatly appreciated. Share this post Link to post Share on other sites
x3kj 1247 Posted November 16, 2014 (edited) What am i missing exactly? You are missing that droop and compression have to be the exact same as defined in the model.cfg of the vehicle. Otherwise Physx Wheels and Visual Wheels will not match. in physx wheel config: maxDroop = 0.35; maxCompression = 0.20; Example Suspension animation: class Wheel_TL2 { type="translation"; source="damper"; selection="WTL_2"; axis="Basic_Damper_Destruct_Axis"; // Consist of vertices [0,0,0],[0,0,1] memory=1; animPeriod=0; minValue=0; maxValue=1; offset0= -0.35; // equal to maxDroop in PhysX offset1= 0.20; // equal to maxCompression in PhysX }; That also means that you shouldnt change these values if you can't modify the model.cfg itself (is the case for binarized models) Edited November 17, 2014 by Fennek Share this post Link to post Share on other sites
dezkit 28 Posted November 16, 2014 You are missing that droop and compression have to be the exact same as defined in the model.cfg of the vehicle. Otherwise Physx Wheels and Visual Wheels will not match.in physx wheel config: maxDroop = 0.35; maxCompression = 0.20; Example Suspension animation: class Wheel_TL2 { type="translation"; source="damper"; selection="WTL_2"; axis="Basic_Damper_Destruct_Axis"; // Consist of vertices [0,0,0],[0,0,1] memory="true"; animPeriod=0; minValue="0"; maxValue="1"; offset0= "-0.35"; // equal to maxDroop in PhysX offset1= "0.20"; // equal to maxCompression in PhysX }; That also means that you shouldnt change these values if you can't modify the model.cfg itself (is the case for binarized models) i didn't know that. thanks for the info! Share this post Link to post Share on other sites
LCpl Aaron 11 Posted November 17, 2014 You are missing that droop and compression have to be the exact same as defined in the model.cfg of the vehicle. Otherwise Physx Wheels and Visual Wheels will not match.in physx wheel config: maxDroop = 0.35; maxCompression = 0.20; Example Suspension animation: class Wheel_TL2 { type="translation"; source="damper"; selection="WTL_2"; axis="Basic_Damper_Destruct_Axis"; // Consist of vertices [0,0,0],[0,0,1] memory="true"; animPeriod=0; minValue="0"; maxValue="1"; offset0= "-0.35"; // equal to maxDroop in PhysX offset1= "0.20"; // equal to maxCompression in PhysX }; That also means that you shouldnt change these values if you can't modify the model.cfg itself (is the case for binarized models) ahh okay, i was noticing a correlation but i couldnt figure out why i couldnt get the right balance. as always your a great help Fennek. one question, should the maxDroop but the absolute value (positive integer)? Share this post Link to post Share on other sites
x3kj 1247 Posted November 17, 2014 should the maxDroop but the absolute value (positive integer) yes indeed Share this post Link to post Share on other sites