Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enableSpring

Enable/Disable the spring behaviour. If false then the joint will be rigid, overriding the limit and motor.
Read time 1 minuteLast updated 10 days ago

Definition

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