CollisionShape2D.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 shape at a high velocity.

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

Meta