This version of Unity is unsupported.

Rigidbody2D.localToWorldMatrix

Switch to Manual
public Matrix4x4 localToWorldMatrix;

Description

The transformation matrix used to transform the Rigidbody2D to world space.

The transformation matrix is calculated as the combination of the Rigidbody2D.position and the Rigidbody2D.rotation.

See Also: Collider2D.localToWorldMatrix and Matrix4x4.