grip

grip <grip type>

Grip allows you to set the type of grip an object has. This is usually used for Wheels.

Grip takes pre-defined grip types, for example

c_PGFEngineGrip - Grip and rotate with engine speed
c_PGFRollGrip - not atttached to engine, only grips the ground and rolls
c_PGFEngineDummyGrip - Moves with engine speed, but does not actually grip the ground.
c_PGFRollGripWhenOccupied - Only apply grip when the vehicle is occupied


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