Function CollisionPolygon2D.oneWayCollision

If true, only edges that face up, relative to CollisionPolygon2D's rotation, will collide with other objects.

bool oneWayCollision() nothrow @property @nogc;

void oneWayCollision (
  bool v
) nothrow @property @nogc;