Usage:
ObjectTemplate.SetDamping
number
Argument values:
argument 1: | range is 0 to 15; most commonly 0 |
Description: The Grip property makes the wheel roll as the vehicle moves (provided it's occupied) and the strength (SetStrength) and damping set the characteristics of the spring. A higher strength means increases the reaction of the spring, as it releases after being pushed in and the dampening smooths the motion a little. At high strength the vehicle tends to bounce in a jittery kind of fashion.
Related properties: Grip, HasCollisionPhysics, HasMobilePhysics, HasResponsePhysics, SetStrength
Used in object types (and how often in each type): Spring (72%)
Used in a total of 54 .con files: Physics.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Land/Hanomag/Physics.con)
rem *** hanomagWheel3lDummy ***
ObjectTemplate.Create Spring hanomagWheel3lDummy
ObjectTemplate.Geometry hanomag_Whe_3L_M1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.SetStrength 00
ObjectTemplate.SetDamping 0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.