Skip to content

Side agnostic physics#2994

Merged
IntegratedQuantum merged 3 commits intoPixelGuys:masterfrom
codemob-dev:side-agnostic-physics
May 1, 2026
Merged

Side agnostic physics#2994
IntegratedQuantum merged 3 commits intoPixelGuys:masterfrom
codemob-dev:side-agnostic-physics

Conversation

@codemob-dev
Copy link
Copy Markdown
Contributor

@codemob-dev codemob-dev commented Apr 30, 2026

Adds a helper function main.game.getBlockWithSide(comptime side: main.sync.Side, x: i32, y: i32, z: i32) ?Block and use it to allow the physics functions to be called on the server side as well. At the moment this isn't particularly useful considering the physics functions themselves haven't been entirely generalized yet, but it is a prerequisite for #1663.

@codemob-dev codemob-dev moved this to Easy to Review in PRs to review Apr 30, 2026
Copy link
Copy Markdown
Member

@IntegratedQuantum IntegratedQuantum left a comment

Choose a reason for hiding this comment

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

Please fix conflicts with the other physics PR, also in a bit there will be more conflicts due to #3000

@IntegratedQuantum IntegratedQuantum moved this from Easy to Review to In review in PRs to review May 1, 2026
@codemob-dev codemob-dev force-pushed the side-agnostic-physics branch from 5a229c8 to 05291d4 Compare May 1, 2026 16:22
@codemob-dev
Copy link
Copy Markdown
Contributor Author

Please fix conflicts with the other physics PR, also in a bit there will be more conflicts due to #3000

Done!

@IntegratedQuantum IntegratedQuantum merged commit 6c6a132 into PixelGuys:master May 1, 2026
1 check passed
@codemob-dev codemob-dev deleted the side-agnostic-physics branch May 1, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants