Skip to content

Fix for lag and errors occurring when an entity is teleported to a sublevel#978

Open
Cibernet83 wants to merge 1 commit into
ryanhcode:mainfrom
Cibernet83:main
Open

Fix for lag and errors occurring when an entity is teleported to a sublevel#978
Cibernet83 wants to merge 1 commit into
ryanhcode:mainfrom
Cibernet83:main

Conversation

@Cibernet83
Copy link
Copy Markdown

Fixed entity collider looking for solid entity collisions from the colliding entity's position all the way to the shipyard plot's world position when teleporting to a sublevel. This is done by injecting code into Entity.collide that projects the delta vector out of the sublevel its in right before it gets passed onto Level.getEntityCollisions

This fixes issue #283

…lliding entity's position all the way to the shipyard plot's world position when teleporting to a sublevel
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 20, 2026

CLA assistant check
All committers have signed the CLA.

@ryanhcode ryanhcode self-assigned this May 21, 2026
@Ocelot5836 Ocelot5836 linked an issue May 21, 2026 that may be closed by this pull request
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.

Teleporters bug

3 participants