class_pinjoint.rst 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the PinJoint.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_PinJoint:
  5. PinJoint
  6. ========
  7. **Inherits:** :ref:`Joint<class_joint>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Pin Joint for 3D Shapes.
  12. Member Variables
  13. ----------------
  14. .. _class_PinJoint_params/bias:
  15. - :ref:`float<class_float>` **params/bias** - The force with which the pinned objects stay in positional relation to each other.
  16. The higher, the stronger.
  17. .. _class_PinJoint_params/damping:
  18. - :ref:`float<class_float>` **params/damping** - The force with which the pinned objects stay in velocity relation to each other.
  19. The higher, the stronger.
  20. .. _class_PinJoint_params/impulse_clamp:
  21. - :ref:`float<class_float>` **params/impulse_clamp** - If above 0, this value is the maximum value for an impulse that this Joint produces.
  22. Enums
  23. -----
  24. .. _enum_PinJoint_Param:
  25. enum **Param**
  26. - **PARAM_BIAS** = **0** --- The force with which the pinned objects stay in positional relation to each other.
  27. The higher, the stronger.
  28. - **PARAM_DAMPING** = **1** --- The force with which the pinned objects stay in velocity relation to each other.
  29. The higher, the stronger.
  30. - **PARAM_IMPULSE_CLAMP** = **2** --- If above 0, this value is the maximum value for an impulse that this Joint produces.
  31. Description
  32. -----------
  33. Pin Joint for 3D Rigid Bodies. It pins 2 bodies (rigid or static) together.