Skip to content

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