LUADOC - Farming Simulator 17

Printable Version

Script v1.4.4.0

Engine v7.0.0.2

Foundation Reference

setJointDrive

Description
Set joint drive. Drives orientation if position drive or angular velocity if velocity drive.
Definition
setJointDrive(integer transformId, boolean isLinear, boolean isPosition, float valueX, float valueY, float valueZ, float angle)
Arguments
integertransformIdid of transform object
booleanisLinearis linear
booleanisPositionis position
floatvalueXorientation axis x or angular velocity x
floatvalueYorientation axis y or angular velocity y
floatvalueZorientation axis z or angular velocity z
floatangleorientation angle