useSpring
Enables the joint's HingeJoint.spring. Disabled by default.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public bool useSpring { get; set; }
Remarks
Additional Resources: JointSpring
Enabling the HingeJoint.motor overrides the spring, given the spring was enabled. If the motor is again disabled the spring will be restored.