mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-08 01:53:52 +00:00
Previously every random-populated creature and object dropped at baseZ (the manifest's flat height), which sat below the carved terrain on hills and floated above it in valleys. After generateCompleteZone the terrain is far from flat, so the spawns showed up clipping or floating. Added an inline groundZ(x, y) helper that casts a downward ray from baseZ+500y at the spawn's (x, y) and uses the hit position's Z. Falls back to baseZ if the ray misses terrain (shouldn't happen inside the loaded tile bbox but is safer than NaN). Both creature and object loops now consult groundZ. Snap-to-ground is the runtime placer's default behavior anyway, so this lines up with the rest of the editor's expectations. |
||
|---|---|---|
| .. | ||
| asset_extract | ||
| auth_login_probe | ||
| auth_probe | ||
| blp_convert | ||
| dbc_to_csv | ||
| editor | ||
| asset_pipeline_gui.py | ||
| backup_assets.sh | ||
| diff_classic_turtle_opcodes.py | ||
| gen_opcode_registry.py | ||
| generate_ffx_sdk_vk_permutations.sh | ||
| m2_viewer.py | ||
| opcode_map_utils.py | ||
| validate_opcode_maps.py | ||