Click or drag to resize

Physics2DServerBodySetShapeTransform Method

Sets the transform matrix for a body shape.

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

Parameters

body
Type: GodotRID

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

shapeIdx
Type: SystemInt32

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

transform
Type: GodotTransform2D

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

See Also