struct

Flock::Collision::Contact3D

Inherits Struct < Value < Object

A 3D collision between two entities, emitted as an event each fixed step. normal points from a toward b.

Constructors

new(a : Flock::Entity, b : Flock::Entity, normal : Flock::Vec3, penetration : Float32, point : Flock::Vec3)
Source

Instance methods

normal
Source
penetration
Source
point
Source