Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Fix for lag when recoloring blocks #529

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix for lag when recoloring blocks #529

wants to merge 1 commit into from

Conversation

Jake-Rich
Copy link

@Jake-Rich Jake-Rich commented May 15, 2016

When recoloring blocks on a big surface, sim-speed would drop and fps would drop (even though it doesn't in debug view).

It was marking the blocks as "dirty" which would cause the Havok physics shape to be recalculated every time blocks were being painted, however the physics shape would never change when the color changed.

You can see performance differences in this screenshot. http://imgur.com/xXWBOnb or in this youtube video. https://youtu.be/ytw4v7cd-kg

@darkthing41
Copy link

I've known the physics re-calculations to cause some semi-stable Multiplayer builds to explode just by giving them a lick of paint, so stopping THAT would be nice.

@Jake-Rich Jake-Rich closed this May 16, 2016
@Jake-Rich Jake-Rich deleted the ColorChangeLagFix branch May 16, 2016 18:06
@Jake-Rich Jake-Rich restored the ColorChangeLagFix branch May 16, 2016 18:06
@Jake-Rich Jake-Rich reopened this May 16, 2016
@Jake-Rich
Copy link
Author

New to github, and accidently un-published the wrong branch, causing it to be closed. Now reopened. Also added a video to help show the bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants