Joint2D
Inherits: Node2D < CanvasItem < Node < Object Inherited By: DampedSpringJoint2D, GrooveJoint2D, PinJoint2D Base node for all joint constraints in 2D physics.
Description
Base node for all joint constraints in 2D physics. Joints take 2 bodies and apply a custom constraint.
Properties
Property Descriptions
- float bias
node_a and node_b move in different directions the
biascontrols how fast the joint pulls them back to their original position. The lower thebiasthe more the two bodies can pull on the joint.
- bool disable_collision
true, node_a and node_b can not collide.
- NodePath node_a PhysicsBody2D.
- NodePath node_b PhysicsBody2D.
