Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grabbed objects with physics stutter badly in the demo #96

Open
Klendat opened this issue Nov 19, 2020 · 2 comments
Open

Grabbed objects with physics stutter badly in the demo #96

Klendat opened this issue Nov 19, 2020 · 2 comments

Comments

@Klendat
Copy link

Klendat commented Nov 19, 2020

Objects that have rigidbody physics (the coffee cup, the cubes etc.) stutter badly when they're grabbed and moved. The stuttering disappears when I let go of the object and it just falls to the floor smoothly.

The objects that don't have any physics are fine when grabbed. The floaty coffee cup that doesn't have gravity moves smoothly when manipulated.

Interestingly enough it isn't very noticeable in recordings which makes me think this is some sort of framerate issue

I just downloaded MRTK-Quest_v120.apk from the releases and ran it on my quest 2 (v23) so nothing was changed on my end.

@provencher
Copy link
Owner

Hmm I'll report this to the MRTK folks. I believe it's a problem with the Object Manipulator's logic around physics, along with the Oculus V23 activating 90 Hz across the board.

Could you try changing the fixed timestep time in your Unity project settings to 1/90, to see if the issue persists?

Cheers!

@Klendat
Copy link
Author

Klendat commented Nov 20, 2020

Could you try changing the fixed timestep time in your Unity project settings to 1/90, to see if the issue persists?

Yeah that seems to be the issue. I changed the fixed timestep to 0.011 and now the grabbed object motion is smooth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants