Support camera ray collision for indented cubes #406
Labels
cat:enhancement
enhancement/requested feature/update of existing features
diff:expert
expert skills required
feat:octree
octree, cube computations
prio:blocker
this issue cannot be moved to a later milestone, also this label cannot be removed
Describe the bug
The collison detection is just working if the camera ray hits a solid cube. Fragmented cubes will be ignored. This will have different impacts depending on the situation:
To Reproduce
Steps to reproduce the behavior:
Go to a fragmented cube and see the console log.
Expected behavior
Make collision work with all possible conditions of a cube. Solid and fragmented.
Screenshots
![image](https://user-images.githubusercontent.com/1569381/122656722-9c565780-d15d-11eb-9a4b-0e27951baec8.png)
![image](https://user-images.githubusercontent.com/1569381/122656745-e50e1080-d15d-11eb-9d7a-01a68fee1d52.png)
No collision at fragment in lower left corner
Collision with a solid cube slightly above the fragment
Inexor Version: b0b2c46
The text was updated successfully, but these errors were encountered: