기술 자료

Unity Engine

Unity Engine

localToWorldMatrix

The transformation matrix used to transform the Rigidbody2D to world space.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

The transformation matrix is calculated as the combination of the Rigidbody2D.position and the Rigidbody2D.rotation.
Additional Resources: Collider2D.localToWorldMatrix and Matrix4x4.