[Terrain] Add move/scale wizard - #11652
Open
PolEpie wants to merge 1 commit into
Open
Conversation
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.
Pull Request
Thanks for contributing to s&box ❤️
Please fill out the sections below to help us review your change efficiently.
Summary
Just a little panel to let you scale / move terrain easily with bound visualisation
Motivation & Context
The terrain tool is really good but once you started doing your terrain and then realize fuck i wanted it a bit bigger / higher, you're fucked, even like if you wanted to dig deeper, you can't.
So i made something that let us scale (as before with uniform scaling) but also scale while keep actual geometry size (so you basically keep what you had and then earn more space)
And a tool to translate the height data (like moving up / down / left / right)
Implementation Details
Ngl jean claude helped me a lot but i was like that might be helping you as a good base
ShiftContentthat will manage the x and y translationOffsetHeightsthat will manage the z translation so height clamped to to prevent to high values / negative onesCanvasResizethat doesnt mutate the input but return a modified array so we can support undoScreenshots / Videos (if applicable)
2026-08-10.02-00-20.mp4
Checklist