Skip to content
reduz edited this page Feb 23, 2014 · 14 revisions

Joint2D

Inherits: Node2D\n\n

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

  • void ** set_node_a ** ( NodePath node ) \ Set the path to the A node for the joint. Must be of type PhysicsBody2D.
  • void ** set_node_b ** ( NodePath node ) \ Set the path to the B node for the joint. Must be of type PhysicsBody2D.
Clone this wiki locally