Browse Source
Features: - Add camera_follow_body flag to RenderState - Update update_camera() to follow selected body when enabled - F key toggles camera follow (requires body selected) - Camera still rotates and zooms around followed body - Removed old focus_camera() function (superseded by new implementation) - Updated help text to show F key for camera follow toggle Technical details: - Camera target updates to body position each frame when following - Existing rotation/zoom controls work relative to new target position - Maintains orbital camera control patternmain
3 changed files with 28 additions and 20 deletions
Loading…
Reference in new issue