Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


localToWorldMatrix

The transformation matrix used to transform the Rigidbody2D to world space.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Matrix4x4 localToWorldMatrix { get; }

Remarks

The transformation matrix is calculated as the combination of the _position and the _rotation.
Additional Resources: _localToWorldMatrix, Matrix4x4