기술 자료

Unity Engine

Unity Engine

fastRotationAllowed

This allows this body to bypass rotational speed limits. This should only be used for circular objects, such as wheels, balls etc.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool fastRotationAllowed { get; set; }

Remarks

By default, Unity limits how fast a body rotates to avoid forces becoming too large and objects passing through each other incorrectly. Set this property to
true
to remove that limit for this body.