Documentation

Unity Engine

Unity Engine

zDrive

The properties of drive along or around Z.
Read time 1 minuteLast updated a month ago

Definition

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