Joint.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Joint" inherits="Spatial" category="Core" version="3.1">
  3. <brief_description>
  4. Base class for all 3D joints
  5. </brief_description>
  6. <description>
  7. All 3D joints link two nodes, has a priority, and can decide if the two bodies of the nodes should be able to collide with each other
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="collision/exclude_nodes" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision">
  17. If [code]true[/code], the two bodies of the nodes are not able to collide with each other.
  18. </member>
  19. <member name="nodes/node_a" type="NodePath" setter="set_node_a" getter="get_node_a">
  20. The [Node], the first side of the Joint attaches to.
  21. </member>
  22. <member name="nodes/node_b" type="NodePath" setter="set_node_b" getter="get_node_b">
  23. The [Node], the second side of the Joint attaches to.
  24. </member>
  25. <member name="solver/priority" type="int" setter="set_solver_priority" getter="get_solver_priority">
  26. The order in which the solver is executed compared to the other [Joints], the lower, the earlier.
  27. </member>
  28. </members>
  29. <constants>
  30. </constants>
  31. </class>