Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: laggy property models (and probably more) #1646

Merged
merged 2 commits into from
Nov 18, 2024
Merged

fix: laggy property models (and probably more) #1646

merged 2 commits into from
Nov 18, 2024

Conversation

EmosewaMC
Copy link
Collaborator

global fix correcting the initial physics motion state from 0 to 5 (confirmed in client). packet captures from a few worlds (didnt scan more than 5 files) show that the value for simple physics was either 5 as the default, or 4 for property models, or 1 for property models with behaviors.

properties with pre-built models no longer lag and values of physics types should be correct across the board. Not sure what else this fixes but probably more stuff related to performance

global fix correcting the initial physics motion state from 0 to 5 (confirm in client).  packet captures from a few worlds (didnt scan more than 5 files) show that the value for simple physics was either 5, or 4 for property models, or 1 for property models with behaviors.

properties with pre-built models no longer lag and values of physics types should be correct across the board
aronwk-aaron
aronwk-aaron previously approved these changes Nov 10, 2024
Copy link
Member

@aronwk-aaron aronwk-aaron left a comment

Choose a reason for hiding this comment

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

Amazing find

Copy link
Collaborator

@jadebenn jadebenn left a comment

Choose a reason for hiding this comment

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

lgtm!

@aronwk-aaron aronwk-aaron merged commit 112c236 into main Nov 18, 2024
4 checks passed
@jadebenn jadebenn deleted the physics branch November 18, 2024 03:08
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.

3 participants