Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


xDrive

The properties of drive along or around X.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public ArticulationDrive xDrive { get; set; }

Remarks

This can be linear drive or rotational drive.
The drive's
lowerLimit
and
upperLimit
must be within the range that the physics SDK defines for this joint type. If they don't, the values are automatically clamped and a warning is logged.