How would I remove the transition between third and first person?

Just as the title says, I was just wondering if disabling it is possible.
This is what I mean:


I’m trying to make some sort of closet hiding system, and I’m changing the CFrame of the camera to smoothly go from third person to first person, but once the animation finishes I want it to lock the camera without that transition because it ruins the animation

This is what happens:

2 Likes

Did you ever figure this out? I need this too.

You could make a script on the client that

  • gets distance between camera and character
  • tweens the character to make it invisible if its close enough

Then you can adjust the tween speed and distance that it activates at to make the transition look natural

Yes, I ended up sort of fixing it a while ago, I’m not sure if this is exactly what fixed it, but here’s what I have:

  • Set camera type to scriptable
  • Tween the camera to the desired position, and wait until the tween finishes
  • Lock to first person (I think it automatically changes the camera type to custom)
  • Set camera type to scriptable again
  • Doing another camera tween
  • Setting camera type to custom

And there it is, so I’m pretty sure the solution is to set the camera type to scriptable right after locking into first person, and then back to custom. You might have to add something like RunService.RenderStepped:Wait() but that should cancel that annoying transition.

After experimenting for a bit, the only solution I could find was to:

  • Set camera type to scriptable
  • Set camera mode to lock first person
  • Tween the camera to the desired position and wait until it finishes (MUST TAKE LONGER THAN THE TRANSITION)
  • Set camera to custom again

Other than that, there’s probably a way to disable it from the camera scripts that roblox provides, but I wasn’t able to find it