Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


motor

Parameters for a motor force that is applied automatically to the Rigibody2D along the line.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public JointMotor2D motor { get; set; }

Remarks

Additional Resources: SliderJoint2D.useMotor.