Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useMotor

Should the joint be rotated automatically by a motor torque?
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool useMotor { get; set; }

Remarks

Additional Resources: HingeJoint2D.motor.