Documentation

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.
Read time 1 minuteLast updated a month ago

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.