文档

Unity Engine

Unity Engine

jointType

The type of joint connecting this body to its parent body.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public ArticulationJointType jointType { get; set; }

Remarks

Changing the joint type can affect the valid range for drive limits. If existing drive limits fall outside the new joint type's valid range, they are automatically clamped and a warning is logged.