Skip to main content
Skip to main content

setRotation

setRotation

Description

Set local space rotation of a transform (relative to its parent)

Definition

setRotation(entityId objectId, float x, float y, float z)

Arguments

entityIdobjectIdobjectId
floatxx rotation in radians
floatyy rotation in radians
floatzz rotation in radians