worldDirectionToLocal
worldDirectionToLocal
Description
World space to local space transformation, only direction without translation
Definition
worldDirectionToLocal(entityId transformId, float wdx, float wdy, float wdz)
Arguments
| entityId | transformId | transformId |
|---|---|---|
| float | wdx | world direction x |
| float | wdy | world direction y |
| float | wdz | world direction z |
Return Values
| float | ldx | local direction x |
|---|---|---|
| float | ldy | local direction y |
| float | ldz | local direction z |