Skip to content

Performance Enhancement: Moved Automap to its Own Physics Layer#2790

Open
Vwing wants to merge 1 commit into
Interkarma:masterfrom
Vwing:optimize-automap
Open

Performance Enhancement: Moved Automap to its Own Physics Layer#2790
Vwing wants to merge 1 commit into
Interkarma:masterfrom
Vwing:optimize-automap

Conversation

@Vwing
Copy link
Copy Markdown

@Vwing Vwing commented May 24, 2026

Moved Automap onto its own non-interacting physics layer, so we don't have to constantly enable/disable its game objects. This is a huge performance boost in large dungeons.

Also we now destroy the generated Automap geo immediately on transition to the outside. This could wait, before, because the geo was disabled; but now that we don't disable geo, we need to do it immediately.

EDIT: Ah, it was already on its own physics layer. I just set it non-interacting with other layers and removed all the then-unnecessary-and-super-unperformant enable/disable code.

Moved Automap onto its own non-interacting physics layer, so we don't have to constantly enable/disable its game objects. This is a *huge* performance boost in large dungeons.

Also we now destroy the generated geo immediately on transition to the outside. This could wait, before, because the geo was disabled; but now that we don't disable geo, we need to do it immediately.
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.

1 participant