I’ve been messing around with Blender quite a lot trying to set up a camera that follows the player with it’s rotation, but the position is limited to either X, Y and Z depending on what area the player is in (in this case, corridors).
I’ve managed to get the thing I wanted done (limiting camera’s movement to specific axis), but the transition between areas causes the camera to stutter, it just jumps straight to it’s new position very unnaturally. So my question is, how would I get the camera move into it’s new position smoothly?
I’ve tried adding or subtracting values, which did indeed make the transition smoother, but it made the camera constantly shake like out of control even when just standing idle in one corridor…
if cam_y > -18.0:
cam.worldPosition.y = cam.worldPosition.y - 0.1
So this one above did not do the trick… I wonder if anyone could help me out? I’m attaching a BLEND FILE to this post, It’s very small so if you have 2 minutes, u might be able to literally save my life.
Thank you ever so much for your time in advance!