Frozenreflex / Thundagun

Lightning fast performance mod for Resonite
GNU General Public License v3.0
5 stars 4 forks source link

Player Movement Jitters Back and Forth in Async Mode #4

Open DoubleStyx opened 2 weeks ago

DoubleStyx commented 2 weeks ago

In async mode, Unity will redraw stale states to improve HMD responsiveness. However, this causes player movement to jitter between two states: an up-to-date orientation/position and an older orientation/position (presumably the last one from Resonite's update). I'm not sure exactly what causes this, but I hypothesize it's related to some connector that tries to drive the Unity avatar position directly, bypassing the RenderTask queue.

DoubleStyx commented 2 weeks ago

If we fix the IK and buffering issues, this might actually resolve on its own. #6 and #40.

DoubleStyx commented 1 week ago

Buffering is technically not an issue here anymore, but I still think this is related to some connector or update order weirdness.

DoubleStyx commented 3 days ago

This doesn't happen on the native Linux build for some reason. Huh.