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]
    struct CollisionPolygon2D
    @nogc nothrow @property
    double
    oneWayCollisionMargin
    ()
  2. double oneWayCollisionMargin [@property setter]

Meta