Vuforia recognition model jitter solution in Unity

  • 1. Hang the script on the shaking model.
  • 2. Create an empty object parnet under ImageTarget as the specific center point of the model.
  • 3. Create a script and hang it on the model. The script contains the following codes. The parent is to create a sub-level under the ImageTarget as the specific location point of the model.
public Transform parent;
 
    void Update()
    {
    
    
        transform.position = Vector3.Lerp(transform.position, parent.position, 0.2f);
    }

how to hang

This can greatly reduce model jitter.

Guess you like

Origin blog.csdn.net/Chj1319261607/article/details/127305044