Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


yDrive

The properties of drive along or around Y.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public ArticulationDrive yDrive { 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.