기술 자료

Unity Engine

Unity Engine

angle

The world angle (in degrees) along which the suspension will move.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float angle { get; set; }

Remarks

This provides 2D constrained motion similar to a SliderJoint2D. This is typically how suspension works in the real world.
Additional Resources: Rigidbody2D