Camera Offset Rotation Problem

I tried using camera offset to place the camera 1.75 studs away from the user without rotating. However, when I equip, and unequip, it rotates the camera (too).

Code:

                        ChangeTween = {TweenService:Create(Humanoid, TweenInfo.new(0.2), {CameraOffset = Vector3.new(1.75, 0, 0)}), 1}
                        
                        ChangeTween[1]:Play()

and

            UnequipTween = TweenService:Create(Humanoid, TweenInfo.new(0.2), {CameraOffset = Vector3.new(0, 0, 0)})
            UnequipTween:Play()

Video (the second time I did it, it worked as intended, but the other times it didn’t):
https://gyazo.com/b0d8c4463574fe5e75df0d25e1067985.mp4

1 Like

Have you tried changing CameraType to something like scriptable or any of the other options?

If I make it scriptable, it won’t offset.

1 Like

Have you tried setting Humanoid AutoRotate to false?

1 Like

That doesn’t work with this sadly.

1 Like

You might want to check if there’s any part of your code that may be causing this. I’ve tested this in an empty baseplate with just the tweens on a random tool when equipped/unequipped, and it works perfectly fine without any rotation.

1 Like

I changed it to Track, and it works perfectly now, thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.