Locking a camera's movement on one axis
Posted: Thu May 19, 2011 8:27 pm
Hi all,
I'm working on a project where I want to lock an FPScamera on a single axis (I want no vertical movement). Turning off the vert movement bool in the constructor works to a point, but I've found that the camera can still move vertically via the collision system (for example, walking up a ramp). Is there any way to absolutely lock the camera in the engine so that it will never move along a defined axis?
I'm working on a project where I want to lock an FPScamera on a single axis (I want no vertical movement). Turning off the vert movement bool in the constructor works to a point, but I've found that the camera can still move vertically via the collision system (for example, walking up a ramp). Is there any way to absolutely lock the camera in the engine so that it will never move along a defined axis?