metalgearsloth
metalgearsloth
Changed engine to use grid local-center and very high maxdistance / refdistance values so it's seamless. Requires https://github.com/space-wizards/RobustToolbox/pull/5087
One of the recent changes has cooked it pretty hard to the point it is no.1 on server for performance issues.
- Now uses a SoundCollection. - Now properly handles going between maps (audio rework mucho wow). - GetAudioLength used so it can properly countdown ANY song (wow audio rework wow...
Even if it's some random type like a shuttle wall, it looks really bad just having a rusty wall there that's a completely different type.
- Dumps logs on roundstart and has for a while. - Allocates HashSet unnecessarily. - Unnecessary getcomponents. - Could be a lot faster. - C# styleguide needs to be followed.
Even the ignore range bit is going to break with pvs but uhh not sure on that one unless we do overrides or something. Fixes https://github.com/space-wizards/RobustToolbox/issues/5093
Significantly cuts down on data being sent + should make client state handling faster.
These still take almost half-ms in server tick time on live as it has to do a raycast for everyone that has storage or their PDA open or whatever. Haven't...
99% of the time it's a localpos / localrot update so you can cut down on what gets sent + what the client needs to do a lot.
Okay I have thought about it a bit. In cases where a grid is spawned on another grid box2d won't resolve them in a timely manner. To get around this...