Variables and functions required for a simple ray casting demonstration using Nape are as follows. ray : Ray -> Ray representing a line segment or simply a ray between two Vec2 points. space.RayCast(ray : Ray) -> This will cast a ray in Nape space and returns an instance of type RayResult which includes […]

Nape Ray Casting Tut