ドキュメント

Unity Engine

Unity Engine

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.