2ab0025b8ca962625b0f01d815343637dec72580
MeshInstance3D.get_aabb() returns a zero AABB when the node is not yet in the scene tree, so the previous code's _fit_model_to_tile call was a no-op (early return on zero footprint) and scaled_h was always 0. Fix: add_child the stalagmite to the tile body FIRST (matching the same order used by _try_load_tile_model for tile top models), then call _fit_model_to_tile, then read the now-valid AABB to compute scaled_h and apply the correct downward shift so the wide base lands flush with the tile underside. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Description
No description provided
53 MiB
Languages
C#
52.7%
HTML
24.9%
GDScript
21.2%
CSS
0.8%
Python
0.3%
Other
0.1%