Joint.xml 1.3 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Joint" inherits="Spatial" category="Core" version="3.1.2">
  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. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="collision/exclude_nodes" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision">
  15. If [code]true[/code], the two bodies of the nodes are not able to collide with each other.
  16. </member>
  17. <member name="nodes/node_a" type="NodePath" setter="set_node_a" getter="get_node_a">
  18. The node attached to the first side (A) of the joint.
  19. </member>
  20. <member name="nodes/node_b" type="NodePath" setter="set_node_b" getter="get_node_b">
  21. The node attached to the second side (B) of the joint.
  22. </member>
  23. <member name="solver/priority" type="int" setter="set_solver_priority" getter="get_solver_priority">
  24. The priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority.
  25. </member>
  26. </members>
  27. <constants>
  28. </constants>
  29. </class>