Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


rotation(float3x3)

Extracts the rotation from a matrix.
Read time 1 minuteLast updated 4 days ago

Definition

public static quaternion rotation(float3x3 m)

Parameters

Matrix to extract rotation from

Returns

Type

Description

quaternionExtracted rotation

Remarks

This method supports any type of rotation matrix: if the matrix has a non uniform scale you should use this method.