Hello all, I’m currently setting up a script where, if a player dies, it puts them into an animation. The animation works, and that’s not the issue. The issue that I’m having is that the animation disables the ability to move the camera angle up, down, left or right, and I was wondering if there’s a way around it and I’m just stupid, and can’t find anything after looking and testing for the past two hours or if that’s just the way it is.
That’s the animation I’m running. I’ve tried changing a bunch of those 0’s and whatnot but nothing seems to work… is there maybe another native or function that I need to setup? Any help is greatly appreciated haha
It seems like the camera freezing on death has more to do with game functionality then the actual task animation. I found this from the thread linked below which seems to re-enable the camera when dead. It does use a constant loop and I’m unsure if there is a better way to do it nowadays, but hopefully it helps!
Thanks, I’ll take a look. The player is technically alive during the animation, I forgot to mention that. However, I’ll try to integrate that somehow and see if that works.
It allows you to rotate the camera around a given point or an offset of an entity. You are also able to zoom in and out and it cannot pass through walls etc.
So you could just start it when playing the animation and stop it again when done.