Physics2DServerBodySetShapeAsOneWayCollision Method |
Enables one way collision on body if enable is true.
Namespace: Godot
public static void BodySetShapeAsOneWayCollision( RID body, int shapeIdx, bool enable, float margin )
[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodySetShapeAsOneWayCollision(Godot.RID,System.Int32,System.Boolean,System.Single)"]
[Missing <param name="shapeIdx"/> documentation for "M:Godot.Physics2DServer.BodySetShapeAsOneWayCollision(Godot.RID,System.Int32,System.Boolean,System.Single)"]
[Missing <param name="enable"/> documentation for "M:Godot.Physics2DServer.BodySetShapeAsOneWayCollision(Godot.RID,System.Int32,System.Boolean,System.Single)"]
[Missing <param name="margin"/> documentation for "M:Godot.Physics2DServer.BodySetShapeAsOneWayCollision(Godot.RID,System.Int32,System.Boolean,System.Single)"]