Garry's Mod Wiki

Revision Difference

Structures/VehicleParamsAxle#517015

<cat>struct</cat> <structure> <description>The structure used by <page>VehicleParams</page>.</description> <fields>{{StructureField|number|brakeFactor</fields>⤶ <fields>⤶ <item name="brakeFactor" type="number"></item>⤶ <item name="offset" type="Vector"></item>⤶ <item name="raytraceCenterOffset" type="Vector"></item>⤶ <item name="raytraceOffset" type="Vector"></item>⤶ <item name="suspension_maxBodyForce" type="number"></item>⤶ <item name="suspension_springConstant" type="number"></item>⤶ <item name="suspension_springDamping" type="number"></item>⤶ <item name="suspension_springDampingCompression" type="number"></item>⤶ <item name="suspension_stabilizerConstant" type="number"></item>⤶ <item name="torqueFactor" type="number"></item>⤶ <item name="wheelOffset" type="Vector"></item>⤶ {{StructureField|number|wheels_brakeMaterialIndex|Material index of braking material of the wheels. Upon braking, the wheels will be set to this material.⤶ </fields>⤶ </structure> ⤶ {{StructureField|Vector|offset}}{{StructureField|Vector|raytraceCenterOffset}}{{StructureField|Vector|raytraceOffset}}{{StructureField|number|suspension_maxBodyForce}}{{StructureField|number|suspension_springConstant}}{{StructureField|number|suspension_springDamping}}{{StructureField|number|suspension_springDampingCompression}}{{StructureField|number|suspension_stabilizerConstant}}{{StructureField|number|torqueFactor}}{{StructureField|Vector|wheelOffset}}{{StructureField|number|wheels_brakeMaterialIndex|Material index of braking material of the wheels. Upon braking, the wheels will be set to this material.}}{{StructureField|number|wheels_damping}}{{StructureField|number|wheels_frictionScale}}{{StructureField|number|wheels_inertia}}{{StructureField|number|wheels_mass|Mass of each wheel.}}{{StructureField|number|wheels_materialIndex|Material index of the wheels by default.}}{{StructureField|number|wheels_radius|Radius of the wheels.}}{{StructureField|number|wheels_rotdamping}}{{StructureField|number|wheels_skidMaterialIndex|Material index of skid material of the wheels. Upon skidding ( pressing Space and sliding the vehicle ), the wheels will be set to this material.}}{{StructureField|number|wheels_springAdditionalLength}}⤶ }}⤶ <item name="wheels_damping" type="number"></item>⤶ <item name="wheels_frictionScale" type="number"></item>⤶ <item name="wheels_inertia" type="number"></item>⤶ {{StructureField|number|wheels_mass|Mass of each wheel.}}{{StructureField|number|wheels_materialIndex|Material index of the wheels by default.}}{{StructureField|number|wheels_radius|Radius of the wheels.}}<item name="wheels_rotdamping" type="number"></item>⤶ {{StructureField|number|wheels_skidMaterialIndex|Material index of skid material of the wheels. Upon skidding ( pressing Space and sliding the vehicle ), the wheels will be set to this material.}}<item name="wheels_springAdditionalLength" type="number"></item>⤶ ⤶ }}