vulkan-renderer icon indicating copy to clipboard operation
vulkan-renderer copied to clipboard

Support camera ray collision for indented cubes

Open westernheld opened this issue 4 years ago • 2 comments

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:

  1. Just one fragment before the void: No collision at all
  2. A fragment in front of a full cube: The collision will detect the full cube, not the fragment in front of it.

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 No collision at fragment in lower left corner image Collision with a solid cube slightly above the fragment image

Inexor Version: https://github.com/inexorgame/vulkan-renderer/pull/383/commits/b0b2c46609eda44713022397b72011b6a69b04b1

westernheld avatar Jun 19 '21 22:06 westernheld

Removed cat:bug as this was an intentional decision. Nonless it should also work with indented cubes.

IceflowRE avatar Jun 22 '21 22:06 IceflowRE