Add third person camera extension#786
Merged
foxtacles merged 1 commit intoisledecomp:masterfrom Mar 30, 2026
Merged
Conversation
Introduces a third person camera system with orbit camera, input handling (mouse/keyboard/touch/gamepad), display actor cloning, and camera-relative movement. Includes shared character utilities (animator, cloner, customizer) and an IExtraAnimHandler interface for optional animation extensions. Also includes generic base game fixes and extension system improvements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a third person camera system with orbit camera, input handling (mouse/keyboard/touch/gamepad), display actor cloning, and camera-relative movement. This has been implemented purely in an extension with only a few hooks needed in the original game's code. Only a couple minor bug fixes were needed in the decomp base (alignment and sound state management issue).
It allows you to experience LEGO Island using modern camera controls and see your own character on screen. You can dynamically switch between 1st and 3rd camera modes. Here's a quick demo:
x_compressed.mp4
It does come with a few limitations (only enabled in
ISLEworld, large vehicles fall back to 1st person camera, which I may address later), but seems to work well enough after some extensive testing (I'd still consider it experimental though). It can be enabled like any other extension through the INI file: