drummerdude2003 / CursedDlls.BepinEx

H3VR mod that allows for ClosedBoltWeapons and Handguns to be full auto
MIT License
9 stars 2 forks source link

Timescale glitch #4

Closed Wackyguy closed 2 years ago

Wackyguy commented 3 years ago

Changing the timescale and changing it back to normal causes two handed weapons to sometimes glitch out, and items in your quick belt move erratically, especially when snap turning.

BlockBuilder57 commented 2 years ago

Unfortunately this is just due to the way H3 and Unity handle the physics of holding objects. When you're holding something, tiny little physics pushes on the object keep it tracked to your hands. The same applies for objects in quickbelts. When the timescale changes, the update rate of the physics calculations change as well. If the physics rate is out of step with the engine rate, well, it causes that. It It's the same reason that the Index used to not work at all with H3 when it was over 90Hz, the physics calculations were happening 90/sec in a 120/sec environment.