playMaker

Author Topic: Jitter in non-parented objects  (Read 442 times)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Jitter in non-parented objects
« on: October 18, 2021, 06:33:33 PM »
I have this problem now: I had to detach the OVRCameraRig (which is the Oculus Camera Rig ready package) from the main body of the character, because I use the orientation of one of the components in the rig to rotate the character itself.
If I let it as a child of the prefab, I introduce a circular iteration and things don't go as I want: the character keeps rotating in one direction or the other, instead than rotate immediately where the player is facing, and stopping right there.

However, with it parented, I have no jitter problem: rendering is perfectly fine and solid, nothing trembles.

Now that it's de-parented, I made a script to match the location and rotation at each frame, but it has introduced a lot of jittering.
I tried the LATE UPDATE option, but it doesn't make any difference.
Any idea on how I could solve this?

For anyone who's curios about the development, here below is a video.
You can see that the TIME text trembles on the screen.
That's where you can notice it most on the video, but I grant you it's not only a problem of text.
It's really too much, ugly and annoying, and it affects the whole visual.

« Last Edit: October 19, 2021, 05:49:48 AM by PolyMad »