Click or drag to resize

Physics2DServerDampedSpringJointCreate Method

Creates a damped spring joint between two bodies. If not specified, the second body is assumed to be the joint itself.

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

Parameters

anchorA
Type: GodotVector2

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

anchorB
Type: GodotVector2

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

bodyA
Type: GodotRID

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

bodyB (Optional)
Type: GodotRID

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

Return Value

Type: RID

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

See Also