Skip to content

Support camera ray collision for indented cubes #406

@westernheld

Description

@westernheld

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: b0b2c46

Metadata

Metadata

Assignees

Labels

cat:enhancementenhancement/requested feature/update of existing featuresdiff:expertexpert skills requiredfeat:octreeoctree, cube computationsprio:criticalthis issue cannot be moved to a later milestone, also this label cannot be removed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions