struct

Flock::Collision::Manifold2D

Inherits Struct < Value < Object

Narrowphase result: how two shapes overlap. normal points from A to B and is unit-length; penetration is the overlap depth (>= 0); point is a representative world-space contact point.

Constructors

new(normal : Flock::Vec2, penetration : Float32, point : Flock::Vec2)
Source

Instance methods

normal
Source
penetration
Source
point
Source