class
FPhysicsMath
- Module
- Physics
- Header
#include "Physics/PhysicsMath.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
Quat | RotationFromMatrix | World rotation read straight off a composed matrix. |
Function details
RotationFromMatrix
C++
static Quat RotationFromMatrix(const Mat4& m)World rotation read straight off a composed matrix. Euler fields are LOCAL; pairing them with a world position hands physics a pose no parented entity ever had, so anything that mirrors a transform into physics must decompose the worldMatrix instead. Columns are re-orthonormalized first (scale), then converted via Shoemake — the same extraction RagdollBuilder uses for bind poses.
Generated from Physics/PhysicsMath.h via physics.json · Nov 4, 2026Version 1.0.0