feat(editor): facing arrow on NPC markers + Ctrl+Wheel hint in object panel

NPC markers now show a yellow ground-triangle pointing in the orientation
direction so users can see facing without selecting. Object panel gained
the Ctrl+Wheel rotation hint to match the NPC panel.
This commit is contained in:
Kelsi 2026-05-06 01:08:32 -07:00
parent b736c6b2e1
commit 35ad340ccc
2 changed files with 12 additions and 0 deletions

View file

@ -1527,6 +1527,7 @@ void EditorUI::renderObjectPanel(EditorApp& app) {
float rot = placer.getPlacementRotationY();
if (ImGui::SliderFloat("Y Rotation", &rot, 0.0f, 360.0f, "%.0f deg"))
placer.setPlacementRotationY(rot);
ImGui::TextDisabled("Tip: Ctrl+Wheel rotates while placing (Shift = fine)");
bool randRot = placer.getRandomRotation();
if (ImGui::Checkbox("Random Rotation", &randRot))
placer.setRandomRotation(randRot);