Physics2DServerPinJointCreate Method |
Creates a pin joint between two bodies. If not specified, the second body is assumed to be the joint itself.
Namespace: Godot
public static RID PinJointCreate( Vector2 anchor, RID bodyA, RID bodyB = null )
[Missing <param name="anchor"/> documentation for "M:Godot.Physics2DServer.PinJointCreate(Godot.Vector2,Godot.RID,Godot.RID)"]
[Missing <param name="bodyA"/> documentation for "M:Godot.Physics2DServer.PinJointCreate(Godot.Vector2,Godot.RID,Godot.RID)"]
[Missing <param name="bodyB"/> documentation for "M:Godot.Physics2DServer.PinJointCreate(Godot.Vector2,Godot.RID,Godot.RID)"]
[Missing <returns> documentation for "M:Godot.Physics2DServer.PinJointCreate(Godot.Vector2,Godot.RID,Godot.RID)"]