microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Near object manipulation jittery #10478

Closed graemeaj closed 9 months ago

graemeaj commented 2 years ago

Descricption

On GameObjects with NearInteractionGrabbable and ObjectManipulator, if gravity is enabled on these objects, grabbing them causes jitteryness/shakiness, always towards the direction of gravity. Smoothing/lerping (ObjectManipulator settings) makes this behaviour harder to detect, but it can still be replicated in the demo scenes. Grabbing an object in mid-air always produces this behaviour.

To reproduce

Steps to reproduce the behaviour:

  1. Go to the "HandInteractionExamples" hand tracking scene with a fresh MRTK install
  2. Make a build for android, I was able to replicate in-engine, as well as quest 1 and 2, and use the hand tracking feature or controllers
  3. Try and grab the falling objects on the right (3 cubes, coffee or lander)
  4. grab and immediately catch them before they hit the ground
  5. they will jitter or shake violently

Expected behavior

These objects should be held firmly and calmly in the hand

Screenshots

It might be hard to see with the low framerates, but there is a jitter

JitterMRTK

Your setup

Target platform

Additional context

Add any other context about the problem here.

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!