LUADOC - Farming Simulator 19

Script v1.7.1.0

Engine v1.7.1.0

Foundation Reference

createWheelShape

Description
Create wheel shape
Definition
createWheelShape(integer transformId, float positionX, float positionY, float positionZ, float radius, float suspensionTravel, float spring, float damperCompressionLowSpeed, float damperCompressionHighSpeed, float damperCompressionLowSpeedThreshold, float damperRelaxationLowSpeed, float damperRelaxationHighSpeed, float damperRelaxationLowSpeedThreshold, float mass, integer collisionMask, integer wheelShapeIndex)
Arguments
integertransformIdtransformId
floatpositionXpositionX
floatpositionYpositionY
floatpositionZpositionZ
floatradiusradius
floatsuspensionTravelsuspensionTravel
floatspringspring
floatdamperCompressionLowSpeeddamperCompressionLowSpeed
floatdamperCompressionHighSpeeddamperCompressionHighSpeed
floatdamperCompressionLowSpeedThresholddamperCompressionLowSpeedThreshold
floatdamperRelaxationLowSpeeddamperRelaxationLowSpeed
floatdamperRelaxationHighSpeeddamperRelaxationHighSpeed
floatdamperRelaxationLowSpeedThresholddamperRelaxationLowSpeedThreshold
floatmassmass
integercollisionMaskcollisionMask
integerwheelShapeIndexwheelShapeIndex (if 0, will create a new wheel)
Return Values
wheelShapeIndexintegerwheelShapeIndex