forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_joint2d
reduz edited this page Feb 23, 2014
·
14 revisions
####Inherits: Node2D ####Category: Core
Base node for all joint constraints in 2D phyisics.
- void set_node_a ( NodePath node )
- NodePath get_node_a ( ) const
- void set_node_b ( NodePath node )
- NodePath get_node_b ( ) const
- void set_bias ( real bias )
- real get_bias ( ) const
Base node for all joint constraints in 2D phyisics. Joints take 2 bodies and apply a custom constraint.
- void set_node_a ( NodePath node )
Set the path to the A node for the joint. Must be of type PhysicsBody2D.
- NodePath get_node_a ( ) const
Return the path to the A node for the joint.
- void set_node_b ( NodePath node )
Set the path to the B node for the joint. Must be of type PhysicsBody2D.
- NodePath get_node_b ( ) const
Return the path to the B node for the joint.