Lua
C++
Edit

TransformRotation

This function transforms a 3D vector from one space to another.

Syntax

Parameter Description
rotation, (x, y, z) Euler or quaternion rotation to transform
src source 4x4 matrix or entity
dst destination 4x4 matrix or entity

Returns

Returns the transformed rotation.

Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation