class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectNodeCanvasItemNode2D Joint2D
Abstract base class for all 2D physics joints.

Abstract base class for all joints in 2D physics. 2D joints bind together two physics bodies (node_a and node_b) and apply a constraint.

float bias<>():float

When node_a and node_b move in different directions the bias controls how fast the joint pulls them back to their original position. The lower the bias the more the two bodies can pull on the joint.

When set to 0, the default value from ProjectSettings.physics/2d/solver/default_constraint_bias is used.

bool disable_collision<>():bool

If true, the two bodies bound together do not collide with each other.

NodePath node_a<>():NodePath

Path to the first body (A) attached to the joint. The node must inherit PhysicsBody2D.

NodePath node_b<>():NodePath

Path to the second body (B) attached to the joint. The node must inherit PhysicsBody2D.

RID get_rid<>():RID

Returns the joint's internal RID from the PhysicsServer2D.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...