Click or drag to resize

PhysicsServerBodyGetShape Method

Returns the RID of the nth shape of a body.

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

Parameters

body
Type: GodotRID

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

shapeIdx
Type: SystemInt32

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

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.PhysicsServer.BodyGetShape(Godot.RID,System.Int32)"]

See Also