Skip to content

class_joint2d

reduz edited this page Feb 23, 2014 · 10 revisions

Joint2D

Inherits: node2d\ Category: Core\

Brief Description

Base node for all joint constraints in 2D phyisics.

Member Functions

Description

Base node for all joint constraints in 2D phyisics. Joints take 2 bodies and apply a custom constraint.

Member Function Description

== set_node_a ==

  • void #set_node_a( NodePath node ) \ Set the path to the A node for the joint. Must be of type PhysicsBody2D. == get_node_a ==
  • NodePath #get_node_a(****) const \ Return the path to the A node for the joint. == set_node_b ==
  • void #set_node_b( NodePath node ) \ Set the path to the B node for the joint. Must be of type PhysicsBody2D. == get_node_b ==
  • NodePath #get_node_b(****) const \ Return the path to the B node for the joint.

Clone this wiki locally