Skip to main content
Skip to main content

setTranslation

setTranslation

Description

Set translation of a transform object in its local space (relative to parent node)

Definition

setTranslation(entityId transformId, float x, float y, float z)

Arguments

entityIdtransformIdtransformId
floatxx translation relative to parent node
floatyy translation relative to parent node
floatzz translation relative to parent node