struct

Flock::Collision::ContactManifold3D

Inherits Struct < Value < Object

A 3D contact manifold: a shared normal (A -> B) and 1..4 contact points. Face-face box contacts yield multiple points so the solver holds them flat.

Constructors

new(normal : Flock::Vec3, points : Array(ContactPoint3D))
Source
single(normal : Flock::Vec3, point : Flock::Vec3, penetration : Float32) : ContactManifold3D
Source

Instance methods

deepest
Source
each_manifold
Source
normal
Source
penetration
Source
point
Source
points
Source