Skip to content

Use the same physics as the player for items - #3052

Merged
IntegratedQuantum merged 4 commits into
PixelGuys:masterfrom
codemob-dev:proper-item-physics
May 8, 2026
Merged

IntegratedQuantum merged 4 commits into
PixelGuys:masterfrom
codemob-dev:proper-item-physics

Conversation

@codemob-dev

Copy link
Copy Markdown
Contributor

Fixes #1663

2026-05-07.14-25-53.mp4
2026-05-07.14-22-04.mp4

@codemob-dev codemob-dev moved this to High Priority in PRs to review May 7, 2026
@ikabod-kee

Copy link
Copy Markdown
Collaborator

It's... beautiful..... it's everything I've ever dreamed, and more. This is pure art. This is amazing. This.

Comment thread src/itemdrop.zig Outdated

@IntegratedQuantum IntegratedQuantum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pretty cool that we finally have proper item physics, thanks for working on this.

Also performance isn't as bad as I expected, though we may need to do some optimizations for resting items in the future.

@IntegratedQuantum
IntegratedQuantum merged commit 2699b42 into PixelGuys:master May 8, 2026
1 check passed
@codemob-dev
codemob-dev deleted the proper-item-physics branch May 8, 2026 17:44
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.

Items should have the same physics as normal entities (friction, buyoancy, air/fluid resistance)

3 participants