Skip to main content
Skip to main content

setWorldDirection

setWorldDirection

Description

Set the direction of an object with direction (x y z) and up (upX, upY, upZ) vectors given in world coordinates

Definition

setWorldDirection(entityId transformId, float x, float y, float z, float upX, float upY, float upZ)

Arguments

entityIdtransformIdtransformId
floatxx
floatyy
floatzz
floatupXupX
floatupYupY
floatupZupZ