Eusth / HoneySelectVR

MIT License
109 stars 28 forks source link

Physics updates at a lower rate than normal fps? #15

Closed thezig2 closed 7 years ago

thezig2 commented 7 years ago

This may be beyond the scope of the mod, but it seems like breast physics aren't updating at every frame in an animation. It's not noticable when the model is a fair distance away, but at close range (i.e. when moving the camera to impersonate the male character during the "Lifting" animation) it's incredibly distracting to have the breasts moving at a different framerate than the rest of the body.

After a little research, I found out that Unity updates physics at a fixed, arbitrary rate that's independent of normal fps. I'm not a programmer and can't say for sure, but I'd guess that the FixedUpdate for HS is running at 60fps, whereas my Rift forces everything else to 90.

Would it be possible to patch the game (using the same mechanism as the wide slider or ggmod) to change the fixed updates to 90 per second? Thanks!

Eusth commented 7 years ago

Yup, it's possible to change the fixed update time, and in fact I've been changing it to 1/90 since day one.

It's possible that HS overwrites my value, though -- I'll have to check.

thezig2 commented 7 years ago

Thanks for looking into it.

nitrixs commented 7 years ago

How did you change the fixed update time?

I have been having a pretty similar issue with performance. When using a large breasted model during a scene the frame timing gets pretty rough, but no drop in framerate. When using a flat chested model with little to no bounce the frame timing stays consistent. I have also tested with a multitude of graphics settings and the only thing it ever came down to were the breasts.

I don't know if its lack of power from my cpu (i7 4790k) because the frame timing issues only show on the cpu. It also could be the sli configuration which I still have to test.

chickenchaser9 commented 7 years ago

I too have experienced this, at first I thought it was my graphics card, but I'm running a 980TI. with an i7. With more reports of this, I'm guessing it may be a bug.

Eusth commented 7 years ago

Can you check if the latest update fixes this issue?

nitrixs commented 7 years ago

It does for me.