Sharing things I know about Nape, the open-source physics library. Ray Casting, Damping, Object Pooling etc.

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