lineOfSightTest method
Holds the implementation for the line of sight test of this game entity. This method is used by {@link Vision#visible} in order to determine whether this game entity blocks the given line of sight or not. Implement this method when your game entity acts as an obstacle.
Implementation
Vector3? lineOfSightTest(Ray ray, Vector3 intersectionPoint) {
return null;
}