Click or drag to resize

Physics2DServerGrooveJointCreate Method

Creates a groove joint between two bodies. If not specified, the bodies are assumed to be the joint itself.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID GrooveJointCreate(
	Vector2 groove1A,
	Vector2 groove2A,
	Vector2 anchorB,
	RID bodyA = null,
	RID bodyB = null
)

Parameters

groove1A
Type: GodotVector2

[Missing <param name="groove1A"/> documentation for "M:Godot.Physics2DServer.GrooveJointCreate(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.RID,Godot.RID)"]

groove2A
Type: GodotVector2

[Missing <param name="groove2A"/> documentation for "M:Godot.Physics2DServer.GrooveJointCreate(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.RID,Godot.RID)"]

anchorB
Type: GodotVector2

[Missing <param name="anchorB"/> documentation for "M:Godot.Physics2DServer.GrooveJointCreate(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.RID,Godot.RID)"]

bodyA (Optional)
Type: GodotRID

[Missing <param name="bodyA"/> documentation for "M:Godot.Physics2DServer.GrooveJointCreate(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.RID,Godot.RID)"]

bodyB (Optional)
Type: GodotRID

[Missing <param name="bodyB"/> documentation for "M:Godot.Physics2DServer.GrooveJointCreate(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.RID,Godot.RID)"]

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.Physics2DServer.GrooveJointCreate(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.RID,Godot.RID)"]

See Also