Click or drag to resize

Physics2DServerBodyGetShapeTransform Method

Returns the transform matrix of a body shape.

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

Parameters

body
Type: GodotRID

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

shapeIdx
Type: SystemInt32

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

Return Value

Type: Transform2D

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

See Also