Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useMotor

Should a motor force be applied automatically to the Rigidbody2D?
Read time 1 minuteLast updated 9 days ago

Definition

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

Remarks

Additional Resources: WheelJoint2D.motor.