Physics2DServerBodySetShape Method |
Substitutes a given body shape by another. The old shape is selected by its index, the new one by its RID.
Namespace: Godot
public static void BodySetShape( RID body, int shapeIdx, RID shape )
[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetShape(Godot.RID,System.Int32,Godot.RID)"]
[Missing <param name="shapeIdx"/> documentation for "M:Godot.Physics2DServer.BodySetShape(Godot.RID,System.Int32,Godot.RID)"]
[Missing <param name="shape"/> documentation for "M:Godot.Physics2DServer.BodySetShape(Godot.RID,System.Int32,Godot.RID)"]