Ray casting with bump.lua issues
Posted: Fri Feb 16, 2024 12:09 am
I'm trying to make a raycaster using bump for physics, however, while collisions are being detected, I have trouble with getting my ray to shrink as the player gets closer to a wall. The ray gets smaller, but also increases in size at certain areas and I'm not sure what's causing this. I felt like bump would have made the process simpler, but the size of the ray isn't changing how I want it to.
Relevant code is on rays.lua file
Relevant code is on rays.lua file