VoxelPlugin
VoxelPlugin copied to clipboard
Voxel line trace
Implement raycasts through the voxel structure itself, which doesn't use UE4 line traces: Algorithm on Stack Overflow Paper
Use a threshold value where voxels are counted as air/solid.
Example use cases:
- Actual line trace (stop on first solid hit)
- Sweep trace: find all voxels in the path below/above the threshold