PhysicsServerBodyAddShape Method |
Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
Namespace: Godot
public static void BodyAddShape( RID body, RID shape, Transform? transform = null, bool disabled = false )
[Missing <param name="body"/> documentation for "M:Godot.PhysicsServer.BodyAddShape(Godot.RID,Godot.RID,System.Nullable{Godot.Transform},System.Boolean)"]
[Missing <param name="shape"/> documentation for "M:Godot.PhysicsServer.BodyAddShape(Godot.RID,Godot.RID,System.Nullable{Godot.Transform},System.Boolean)"]
[Missing <param name="disabled"/> documentation for "M:Godot.PhysicsServer.BodyAddShape(Godot.RID,Godot.RID,System.Nullable{Godot.Transform},System.Boolean)"]