文档

Unity Engine

Unity Engine

yDrive

The properties of drive along or around Y.
阅读时间1 分钟最后更新于 1 个月前

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.