motorSpeed
The desired speed for the Rigidbody2D to reach as it moves with the joint.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float motorSpeed { get; set; }
Remarks
Additional Resources: Rigidbody2D, _maxMotorTorque