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
Ray casting with bump.lua issues
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 13 guests