Joint.xml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Joint" inherits="Spatial" version="3.4">
  3. <brief_description>
  4. Base class for all 3D joints.
  5. </brief_description>
  6. <description>
  7. Joints are used to bind together two physics bodies. They have a solver priority and can define if the bodies of the two attached nodes should be able to collide with each other.
  8. </description>
  9. <tutorials>
  10. <link title="3D Truck Town Demo">https://godotengine.org/asset-library/asset/524</link>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="collision/exclude_nodes" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision" default="true">
  16. If [code]true[/code], the two bodies of the nodes are not able to collide with each other.
  17. </member>
  18. <member name="nodes/node_a" type="NodePath" setter="set_node_a" getter="get_node_a" default="NodePath(&quot;&quot;)">
  19. The node attached to the first side (A) of the joint.
  20. </member>
  21. <member name="nodes/node_b" type="NodePath" setter="set_node_b" getter="get_node_b" default="NodePath(&quot;&quot;)">
  22. The node attached to the second side (B) of the joint.
  23. </member>
  24. <member name="solver/priority" type="int" setter="set_solver_priority" getter="get_solver_priority" default="1">
  25. The priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority.
  26. </member>
  27. </members>
  28. <constants>
  29. </constants>
  30. </class>