Skeleton lag when mesh child of camera

Here is a test PG I created that has a rabbit with a sphere that is set according to a bone position.

If you rotate the camera, you can see that the sphere lags behind. You should also be able to see that the skeleton viewer lags (you might have to zoom out to see it).

I can’t use attach to bone for what I’m doing in my project. I need to be able to set a position relative to bone position of a character that is a child of the camera.

BTW, I wasn’t able to update the PG title when saving (chrome).

Well, computing the meshes world matrix fixes this example.

That doesn’t work in my project, though. I think I need to come up with a better example that uses the IKController.

The skeleton viewer still lags. That still might be related to my issue.

1 Like

Seems like there is a frame or two of lag…Like the viewer was not sync at the right time

I discovered the issue in my project. It had nothing to do with BJS.

Ok cool (well kind of ":))