I am trying to make a first person camera system where a player can see themselves(As in, their body isn't transparent. They can see their torso, legs, arms, if they look down). I've managed to get that part done using LocalTransparencyModifier
and the RenderStepped
event, although the camera is positioned right ontop of my torso. The problem with that is that when the torso is visible, it takes up a big chunk of the screen and doesn't look realistic as usually your eyes would actually be past the front of your torso, so you'd only see it if you look down.
I've tried moving the camera forward based on the Torso's lookVector, although it would seem that when the camera moves past the center of the character, the camera flips around so that it's always facing the character. In doing this, it now makes the character walk backwards as the camera is facing backwards.
tl;dr: How do I position the camera a tiny bit infront of the character in first person, without the camera automatically flipping to look at the character?
I'm all out of ideas, would anybody know how I could accomplish this?