DecayKnowledgebase
functiongenerated

Transform.rotate_around

Rotates position and orientation around a world-space Vec3 pivot and nonzero Vec3 axis by radians. Normalizes the axis and preserves scale. Invalid input/output, a singular parent scale, or movement off a Z-locked layer is an error with no mutation.

Signature

Transform.rotate_around(pivot: Vec3, axis: Vec3, radians: number) -> unit

Member of Transform

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b