Skip to content

feat: implemented a special test case showcasing heat transfer throug…#89

Merged
Just-Here-TO-Code merged 1 commit intodevfrom
feat/thermal
Mar 30, 2026
Merged

feat: implemented a special test case showcasing heat transfer throug…#89
Just-Here-TO-Code merged 1 commit intodevfrom
feat/thermal

Conversation

@Satvik-Singh192
Copy link
Copy Markdown
Owner

…h conduction and radiation

Description

Adds a dedicated Heat Transfer test case plus a lightweight thermal simulation layer so temperature exchange between bodies can be visualized without disturbing existing scenarios.

Changes Made

Extended Rigidbody, PhysicsWorld with optional thermal properties, conduction/radiation/ambient solvers, and spawn controls that only activate inside the new scenario.
Replaced the buoyancy-style test with “Heat Transfer Lab”: a contact chain of boxes seeded with extreme hot/cold temps, updated body-menu UI sliders, and temperature readouts/editing.
Added a temperature-driven color palette and on-screen legend so viewers can instantly read the heat gradient while bodies conduct energy.

Implementation Details

Thermal logic runs only when thermal_settings.enabled is set; it uses existing contact manifolds for conduction, distance checks for radiation, and configurable ambient coupling. Rendering samples a multi stop gradient to paint temperatures without affecting the non-thermal pipeline.

Checklist

Type:

  • Bug Fix
  • Feature
  • Chore

@Just-Here-TO-Code
Copy link
Copy Markdown
Collaborator

@Satvik-Singh192 great work.

@Just-Here-TO-Code Just-Here-TO-Code merged commit fa881fd into dev Mar 30, 2026
1 check passed
@Just-Here-TO-Code Just-Here-TO-Code deleted the feat/thermal branch March 30, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants