Click or drag to resize

CollisionPolygon2DOneWayCollisionMargin Property

The margin used for one-way collision (in pixels). Higher values will make the shape thicker, and work better for colliders that enter the polygon at a high velocity.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float OneWayCollisionMargin { get; set; }

Property Value

Type: Single
See Also