etra0 / botw-freecam

Freecam for the game Zelda: Breath of the Wild for the Wii U using the Cemu emulator
MIT License
67 stars 12 forks source link

Jittering when the duration is too long #4

Closed etra0 closed 3 years ago

etra0 commented 3 years ago

There's some noticeable jittering when the duration of the path is too long.

mistermark commented 3 years ago

Also happens when the path isn't very long. I seems to happen just randomly.

I've had it occur even when travelling a very small distance. But i've also not have it happen to me when I've been using the camera for a LONG time, like an hour.

by the way, is there a work-around to reset this jittering, besides just drop/starting the game?

etra0 commented 3 years ago

I think it could be related to CPU usage. Since it's using a sleep, if your CPU is under stress it'll give way less priority and can cause that jitter. Would you mind telling me how many cores do you have @mistermark ? I'll do some testing too.

etra0 commented 3 years ago

So the issue was a math singularity, not the scheduler (so it's not a CPU bound problem). This issue happens when you activate the freecam too near to link (that includes the first person mod). In the latest version (v0.2.5) this issue is fixed.

Thanks a lot to Wackiger for helping me with the replication of the bug!