About
News
Tutorials
Tools
Tools Guide
Scripting
Forums
Contact
setStrength
setStrength <int>
setStrength allows you to set the strength of the spring.
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