updateProjection

fun updateProjection(bodiesToEvaluate: ArrayList<TranslatableBody>)

Updates the projection in world space and acquires information about the closest intersecting object with the ray projection.

Parameters

bodiesToEvaluate

Arraylist of bodies to check if they intersect with the ray projection.