Hello, I’m trying to make a custom jumpscare and I first started by rigging a part in front of my monsters head so ur camera switches to that part when you die, the ai will move while ur getting jumpscare but I want it where u can see the background of where u died, when I switch the camera to the block it goes to where I died but it doesn’t update and follow where the block is any help?
1 Like
You need to constantly update the Camera’s CFrame to the block, the engine won’t do that for you. When you set the Camera’s CFrame that’s a one-time set for the current frame, the engine won’t know that you want the camera to constantly follow the block so you need to tell it to do that.
I strongly recommend BindToRenderStep and likewise UnbindFromRenderStep to make the work a whole lot easier for you. Bind a function at camera priority to update the CFrame and unbind it when you don’t need the CFrame to be updating to the block anymore.
1 Like