Skip to content

Fix rockets embedding in the ground on re-entry/landing - #133

Open
dhm-msd wants to merge 2 commits into
RealAntEngineer:1.21.1-releasefrom
dhm-msd:hotfix/rockets-sinking-into-ground
Open

dhm-msd wants to merge 2 commits into
RealAntEngineer:1.21.1-releasefrom
dhm-msd:hotfix/rockets-sinking-into-ground

Conversation

@dhm-msd

@dhm-msd dhm-msd commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

The post-collision snap used Math.round on x/y/z, which could round a
rocket that was slightly inside the ground down a whole block, and could
shift it half a block sideways. Snap only y, and always back out of what
was hit: ceil when descending, floor when ascending (with a small
tolerance so an exact block height is not bumped a full block).

Also restore the zero motion in manageCollision's no-room branch, so the
rocket does not move with the last colliding step.

@dhm-msd
dhm-msd marked this pull request as ready for review October 22, 2026 00:21
@dhm-msd

dhm-msd commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Can this be merged & released ?

@RealAntEngineer

Copy link
Copy Markdown
Owner

Yes, this week end I have no time but it's comming

This branch has not been deployed

No deployments
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