Egg and Pet not staying in the right position

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want my pets to always be in the middle of the camera

  2. What is the issue? Include screenshots / videos if possible!
    https://gyazo.com/8dc581b8f904e08d7ed4666145b08243

as you can see if you move the camera the pets postion and orientation gets offset

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I cant find any solutions

My code uses tweens to change the positions and orientations

the parts are in the camera in the workspace

how do i keep the parts in the middle of the screen tho?

1 Like

Maybe create another Camera specifically for the ViewportFrame (pretty sure you’re using one) so it doesn’t move if you move the camera

And maybe moving all of that into the ViewportFrame would be less confusing when you look back on it but it’s not required

1 Like

Hi, the parts are not in a viewframe since it is required to have particles and particles do not render in viewframes

2 Likes

Maybe try anchoring the camera til it’s done animating idk