PinJoint.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PinJoint" inherits="Joint" category="Core" version="3.1">
  3. <brief_description>
  4. Pin Joint for 3D Shapes.
  5. </brief_description>
  6. <description>
  7. Pin Joint for 3D Rigid Bodies. It pins 2 bodies (rigid or static) together.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="params/bias" type="float" setter="set_param" getter="get_param">
  17. The force with which the pinned objects stay in positional relation to each other.
  18. The higher, the stronger.
  19. </member>
  20. <member name="params/damping" type="float" setter="set_param" getter="get_param">
  21. The force with which the pinned objects stay in velocity relation to each other.
  22. The higher, the stronger.
  23. </member>
  24. <member name="params/impulse_clamp" type="float" setter="set_param" getter="get_param">
  25. If above 0, this value is the maximum value for an impulse that this Joint produces.
  26. </member>
  27. </members>
  28. <constants>
  29. <constant name="PARAM_BIAS" value="0" enum="Param">
  30. The force with which the pinned objects stay in positional relation to each other.
  31. The higher, the stronger.
  32. </constant>
  33. <constant name="PARAM_DAMPING" value="1" enum="Param">
  34. The force with which the pinned objects stay in velocity relation to each other.
  35. The higher, the stronger.
  36. </constant>
  37. <constant name="PARAM_IMPULSE_CLAMP" value="2" enum="Param">
  38. If above 0, this value is the maximum value for an impulse that this Joint produces.
  39. </constant>
  40. </constants>
  41. </class>