Latest VB6VB2010 Activity
![how use RayCasting?](https://uploads.gamedev.net/forums/monthly_2024_04/6a10a50448ab4e83be9ca307475628bb.image.png)
I guess the bug is something like missing or skipping an intersection with the level, thus the question about the level data.
Assuming you use a regular grid, where some cells are solid and others are empty, DDA is usually used to find intersections of a ray with grid edges in front to back order.
He…
Advertisement
Advertisement
Advertisement