|
setDamping
setDamping
<int>
setDamping allow you to set the amount of Damping the spring will
have.
Example:
rem *** WillyBackSpringL ***
ObjectTemplate.create Spring WillyBackSpringL
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry Willy_WheelL_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustWheelFL
ObjectTemplate.addTemplate e_wdustWheelF
rem -------------------------------------
ObjectTemplate.setStrength 25
ObjectTemplate.setDamping 5
Valid object
types
Spring
- "Wheel" like object used for generating thrust over the landscape
|
|