# Rotator from 3x3 float rotation matrix

**URL:** <https://forums.unrealengine.com/t/rotator-from-3x3-float-rotation-matrix/137180>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [January 27, 2020, 5:20pm UTC](https://forums.unrealengine.com/t/rotator-from-3x3-float-rotation-matrix/137180 "2020-01-27T17:20:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YB\_Wertolet](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yb_wertolet/32/558511_2.png) [@YB\_Wertolet](https://forums.unrealengine.com/u/YB_Wertolet)\
**Post date:** [January 27, 2020, 5:20pm UTC](https://forums.unrealengine.com/t/rotator-from-3x3-float-rotation-matrix/137180/1 "2020-01-27T17:20:43Z")

</div>

Hi everyone!

Im have a 9 floats representing a 3x3 rotation matrix from another software (Nuitrack), is there any way to make a Rotator object from this matrix?

Thanks.

---

<div class="post-metadata">

**Author:** ![Nuitrack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nuitrack/32/1095757_2.png) [@Nuitrack](https://forums.unrealengine.com/u/Nuitrack)\
**Post date:** [June 30, 2025, 1:55pm UTC](https://forums.unrealengine.com/t/rotator-from-3x3-float-rotation-matrix/137180/2 "2025-06-30T13:55:44Z")

</div>

```auto
FQuat UNuitrackUtils::OrientToRotation(Joint joint)
{
	//auto jointRight = FVector(-joint.orient.matrix[0], joint.orient.matrix[6], joint.orient.matrix[3]); //X(Right)
	auto jointForward = FVector(-joint.orient.matrix[1], joint.orient.matrix[7], joint.orient.matrix[4]); //Y(Forward)
	auto jointUp = FVector(-joint.orient.matrix[2], joint.orient.matrix[8], joint.orient.matrix[5]); //Z(Up)

	return FRotationMatrix::MakeFromYZ(jointUp, jointForward).ToQuat();
}

```

> [@Full Body tracking for UE5 in real-time and 3D sensors support \[Nuitrack\]\[PLUGIN\]\[FAB\]](https://forums.unrealengine.com/t/full-body-tracking-for-ue5-in-real-time-and-3d-sensors-support-nuitrack-plugin-fab/1331349):
>
> right_arrow [Information about the latest update](https://forums.unrealengine.com/t/ue-store-real-time-full-body-tracking-for-ue5-nuitrack-plugin/1331349/86) [Nuitrack\_ue\_plugin169] arrow_right Download plugin: Video about the new update: [[How to make interactive particles in a simple way? @Orbbec3d Astra 2 sensor #pointcloud] ](https://www.youtube.com/watch?v=w7Mee0fhpg8)[Information about the latest update](https://forums.unrealengine.com/t/ue-store-real-time-full-body-tracking-for-ue5-nuitrack-plugin/1331349/86)collision If problems occur, read the Troubleshooting section carefully We’re happy to present our real-time body tracking for Unreal Engine 5. It could be used without writing any code, simply connecting Nodes in Bluepr…
