Skip to content

Fix ladder NavMesh in rise roof backrooms#106

Open
sunzenshen wants to merge 1 commit intomasterfrom
bot-navmesh-rise-ladder-backroom-fix
Open

Fix ladder NavMesh in rise roof backrooms#106
sunzenshen wants to merge 1 commit intomasterfrom
bot-navmesh-rise-ladder-backroom-fix

Conversation

@sunzenshen
Copy link
Contributor

Requires ladder climbing PR to work:
NeotokyoRebuild/neo#1633

@sunzenshen
Copy link
Contributor Author

Why this PR

The Rise roof backrooms are never used because the ladder connection is not present:

Screenshot 2026-02-26 221129

Also, the bots tend to run into the fences/door because the navmesh intersects the obstacles:

Screenshot 2026-02-26 221249 Screenshot 2026-02-26 221217

(the middle line is actually a cutting guide, not a break in the NavArea)

Manual fixes implemented

ran nav_build_ladder:

Screenshot 2026-02-26 221143 Screenshot 2026-02-26 221233 Screenshot 2026-02-26 221257

Known Issues

The ladder going to the window cleaner drop route is completely disconnected:

Screenshot 2026-02-26 221322 Screenshot 2026-02-26 221353

(I didn't bother connecting these stairs, because previous experiments showed that bots cannot stay still on the ledge walks and will plummet to their doom. Without further behavioral modifications, the bots cannot safely drop down the side of the building.)

Also, while the bots drop down the ladder in a relatively smooth manner, the bots struggle to climb up this ladder, because they veer off to the side and fall back down:
Screenshot 2026-02-26 230251
Screenshot 2026-02-26 225847

Also generally, this route doesn't appear to be used much, because it's relatively out of the way of any points of interest.

@sunzenshen sunzenshen requested a review from a team February 27, 2026 06:16
Copy link
Collaborator

@Rainyan Rainyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, while the bots drop down the ladder in a relatively smooth manner, the bots struggle to climb up this ladder, because they veer off to the side and fall back down

I had better luck doing this kind of thing to stop them from getting stuck (and I guess they're more likely to veer against the right wall than fall off to the left):

Image

However, maybe it's related to the bots trying to keep some space, or to the behavior where they start aiming behind themselves, but if I stayed too close to the ladder as the pack leader, they would have more trouble climbing than if I ran ahead and they had to catch up.

@Rainyan Rainyan requested a review from a team February 28, 2026 21:58
@sunzenshen
Copy link
Contributor Author

I also have one theory that maybe we need to have the bots press forward some more after they clear the ladder height, though this same ladder style doesn't seem to have that much trouble going up in Threadplate (but ironically has some more trouble going down a few ladders in that map)

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.

2 participants