Add Phase 2 selection system and translate gizmo
- Click-to-select with raycast (Movable actors only) - Ctrl+click for multi-select, click empty to deselect - Click vs drag detection (pixel threshold) to avoid accidental selection - SelectionManager owned by PlayerController with OnSelectionChanged delegate - Custom depth stencil toggling on selected actors - Debug bounding box visualization for selection - Custom translate gizmo actor with colored arrows (R/G/B) and cone tips - Gizmo renders on top of scene (SDPG_Foreground + Translucent depth test disabled) - Constant screen-size gizmo scaling based on camera distance - Unlit gizmo material with Color vector parameter (M_PS_Editor_Gizmo) - r.CustomDepth=3 enabled for future outline post-process Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user