Skip to content

Adding terrain to 3D starters - #1106

Merged
4ian merged 5 commits into
mainfrom
StarterProjectUpdate_TerrainAddition
Nov 3, 2026
Merged

4ian merged 5 commits into
mainfrom
StarterProjectUpdate_TerrainAddition

Conversation

@HelperWesley

Copy link
Copy Markdown
Contributor

Adding the terrain object to appropriate 3D starters, replacing the ground that was previously made with a 3D box.

(Also updating the starting wall texture, because it was misaligned by a couple of pixels.)

Adding the terrain object to the appropriate 3D starters.

Also updating the starting wall texture, because it was misaligned by a couple of pixels.
@github-actions

Copy link
Copy Markdown
Contributor

Preview the game(s) changed or added in this Pull Request


This is an automatic message displaying links to the games in this PR - double check the JSON in case of doubt.

4ian and others added 4 commits November 3, 2026 00:38
#1110 was squash-merged: its content already includes the changes of main
(#1107, #1109), so the conflict is resolved with this branch's version and
this merge changes no file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GFZnZwjYz8dSQxu3B2QVUJ
…emoved ground

The random places they go to when no path to the player is found were taken
from the bounding box of the ground box replaced by the terrain: without it,
they were all at the origin of the scene.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GFZnZwjYz8dSQxu3B2QVUJ
Each time a pushable box moved, the navigation mesh of the whole level was
rebuilt (at most once per second), which took about 100 ms with the terrain.
The pushable boxes are no longer navigation mesh obstacles (enemies push them
out of the way instead of walking around them), and the cells of the
navigation mesh are 20 pixels instead of 10, so that a rebuild (when the
level starts) is about 7 times faster.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GFZnZwjYz8dSQxu3B2QVUJ
@4ian
4ian merged commit bdbc7b1 into main Nov 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants