🐛 Bug Description
Star nodes on the 3D galaxy map can overlap visually, resulting in intersecting or partially merged spheres.
The actual behaviour:
Multiple star systems are rendered too close to each other, causing visual overlap and reducing map readability. In some cases, connection lines also intersect through star meshes.
✅ Expected Behaviour
Star systems should never overlap.
Each generated star should:
- Maintain a minimum spatial distance from other stars
- Respect a defined collision / spacing radius
- Preserve clear visual separation for readability and gameplay clarity
🔁 Steps to Reproduce
- Start a new game session
- Let the procedural galaxy generate
- Zoom into a cluster of nearby systems
- Observe intersecting star meshes
🎮 Game Context
- Branch: main
- Commit (if known): unknown
- Godot Version: 4.x
- OS: Windows 10/11
- Build Version (if applicable): Development build
📂 Affected System
⚠️ Severity
Reason:
The game remains playable, but visual clarity and navigation accuracy are affected.
📸 Screenshots / Logs
See attached screenshot:
Stars overlap visually on generated galaxy map.
🧠 Additional Notes
This likely originates from procedural generation logic not enforcing a minimum distance constraint between star positions.
Possible causes:
- No spatial validation during star placement
- Missing distance check between generated coordinates
- Random generator range too dense
- Scaling factor not considered when positioning MeshInstances
- Star radius not included in spacing calculation
Suggested fix:
Implement minimum distance validation (e.g. sphere packing check) during procedural generation before confirming star placement.
🐛 Bug Description
Star nodes on the 3D galaxy map can overlap visually, resulting in intersecting or partially merged spheres.
The actual behaviour:
Multiple star systems are rendered too close to each other, causing visual overlap and reducing map readability. In some cases, connection lines also intersect through star meshes.
✅ Expected Behaviour
Star systems should never overlap.
Each generated star should:
🔁 Steps to Reproduce
🎮 Game Context
📂 Affected System
Reason:
The game remains playable, but visual clarity and navigation accuracy are affected.
📸 Screenshots / Logs
See attached screenshot:
Stars overlap visually on generated galaxy map.
🧠 Additional Notes
This likely originates from procedural generation logic not enforcing a minimum distance constraint between star positions.
Possible causes:
Suggested fix:
Implement minimum distance validation (e.g. sphere packing check) during procedural generation before confirming star placement.