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: out of order physics updates #1558

Merged
merged 1 commit into from
May 1, 2024
Merged

fix: out of order physics updates #1558

merged 1 commit into from
May 1, 2024

Conversation

EmosewaMC
Copy link
Collaborator

fixes an issue where physics entities were not given a chance to be marked as sleeping, causing a initial sleeping calls to be missed and causing objects that collided with one another to not register new collisions since they were sleeping at the time the new collision fired off.

Tested that Brick Fury now corectly aggros the first spawn of enemies near by to him. Tested that the turrets in crux prime now correctly shoot the first wave of enemies that spawn.

fixes an issue where physics entities were not given a chance to be marked as sleeping, causing a initial sleeping calls to be missed and causing objects that collided with one another to not register new collisions since they were sleeping at the time the new collision fired off.

Tested that Brick Fury now corectly aggros the _first_ spawn of enemies near by to him.
Tested that the turrets in crux prime now correctly shoot the _first_ wave of enemies that spawn.
@EmosewaMC
Copy link
Collaborator Author

just for a reference, the client runs through these two in this order too, gameobj and then physics.

@DarwinAnim8or DarwinAnim8or merged commit ab7f6f0 into main May 1, 2024
4 checks passed
@EmosewaMC EmosewaMC deleted the swap-update-order branch May 1, 2024 21:23
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