How to make pets go into Camera and continuously look at you

Hello! I am wondering how I can make a part go into my camera, and continuously keep looking at you even when you turn your camera upwards, or downwards, etcetera. (Example shown in the video below)

Any help will be very much appreciated! :smile:

If anyone knows, it would be very greatly appreciated!

Most likely an invisible ViewportFrame along with a camera in it makes that effect.

I am highly sure they’re just in the camera.

If you put an invisible viewport frame that fits the entire camera along with a world model and a camera in it, it would get the same effect. Otherwise it wouldn’t make sense.

Okay well, how would I go along making it?

I already explained it. Please read again my post.

I meant like how would I get a camera inside a viewport frame?

And so how would I be able to make it continuously keep looking towards the camera?

Just don’t move it? Viewportframes have a different camera than the normal one, so just put the pets in front of the Viewportframes camera.

I am not sure what you mean by don’t move it? Is there any post on what you mean, I am not that good with Viewport frames? My current Pet System uses View Port frames, but it’s using Module3D.

I don’t really understand your problem then.

As I said in the post, how am I able to make the pets continuously LOOK at your camera if you move your camera up, down, etc like how it is in the video I gave as an example.

The viewport camera and pets don’t move. What the viewport camera sees is just displayed on top of your screen.

All I am asking is how can I make the pets look at your camera like how it is in the example video, wether it’s in Camera, or viewport frame, how can I make it like how it is in video. I am not sure if you’re not understanding, or I am mistaken and I am not understanding.

What are you doing right now, just positioning the pets in front of the normal camera?

In mine, the pets are rotating constantly sitting in place, but to make it look better, how could I do what I said in the post.

Just use CFrame.lookAt to have the pet point at the ViewportFrame’s camera.

local petCFrame = CFrame.lookAt(position of the pet, position of camera)

Thank you!
I was able to do this, which I can change into the pet!