struct

Flock::Collision::RayHit2D

Inherits Struct < Value < Object

A ray hit: the entity struck, the world contact point, the surface normal there, and the distance along the ray.

Constructors

new(entity : Flock::Entity, point : Flock::Vec2, normal : Flock::Vec2, distance : Float32)
Source

Instance methods

distance
Source
entity
Source
normal
Source
point
Source