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

Huge Performance Boost #8

Closed
wants to merge 2 commits into from
Closed

Huge Performance Boost #8

wants to merge 2 commits into from

Conversation

bo11ox
Copy link

@bo11ox bo11ox commented Oct 12, 2020

Hey there!

The FixedUpdate() use in ChunkNode class had an heavy impact on performance.
I commented that out and increased the rigidbody sleepThreshhold in Fracture classes Setup(), to stop that drifting you mentioned.
Had good results with a value of 5.

Had quite a bit of fun playing around with your Blast implementation. So thanks for that!

tante Chris added 2 commits October 12, 2020 18:01
Increased rigidbody sleep threshold
Use of Fixed Update had heavy performance impact
@ElasticSea
Copy link
Owner

With rigibody.sleepThreshold = 5; or a similarly large value the chunk can stop mid-air. I will try to limit the FixedUpdate to minimum to mitigate rigidbodies waking up. Thanks for the tip anyway.

@ElasticSea ElasticSea closed this Apr 19, 2021
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