CollisionPolygon2D.oneWayCollisionMargin

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.

  1. double oneWayCollisionMargin [@property getter]
  2. double oneWayCollisionMargin [@property setter]
    struct CollisionPolygon2D
    @nogc nothrow @property
    void
    oneWayCollisionMargin
    (
    double v
    )

Meta