Click or drag to resize

Physics2DServerBodySetShapeDisabled Method

Disables shape in body if disable is true.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void BodySetShapeDisabled(
	RID body,
	int shapeIdx,
	bool disabled
)

Parameters

body
Type: GodotRID

[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetShapeDisabled(Godot.RID,System.Int32,System.Boolean)"]

shapeIdx
Type: SystemInt32

[Missing <param name="shapeIdx"/> documentation for "M:Godot.Physics2DServer.BodySetShapeDisabled(Godot.RID,System.Int32,System.Boolean)"]

disabled
Type: SystemBoolean

[Missing <param name="disabled"/> documentation for "M:Godot.Physics2DServer.BodySetShapeDisabled(Godot.RID,System.Int32,System.Boolean)"]

See Also