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
| entityId | transformId | transformId |
|---|---|---|
| float | x | x |
| float | y | y |
| float | z | z |
| float | upX | upX |
| float | upY | upY |
| float | upZ | upZ |