LUADOC - Farming Simulator 22

Script v1_7_1_0

Engine v1_7_1_0

Foundation Reference

setDirection

Description
Set the direction of an object, the positive z-axis points towards the given direction. The y-axis lies in the direction-up-plane.
Definition
setDirection(integer transformId, float x, float y, float z, float upX, float upY, float upZ)
Arguments
integertransformIdtransformId
floatxx
floatyy
floatzz
floatupXupX
floatupYupY
floatupZupZ