How do you stop the FPS rotation?
Hey, i have some trouble with the c++ FPS template. I want to be able to stop the rotation of the camera during certain times, but i'm not sure how to do this. I can't find anything that will let me stop the rotation from happening when the player moves the mouse around. Do anyone know how you could go about this? Also is there a way you can set the players rotation instantly in some way, like making the character instantly rotate to a object in the world?
asked Feb 17 '15 at 12:41 PM in C++ Programming
I managed to figure out what you can do in order to block so that the player wont look around when the player moves the mouse. You can use this piece of code to stop the input.
answered Feb 22 '15 at 10:52 AM
Not 100% sure of the setup, but the mouse is usually based on rotation on the Yaw axis. Try searching for the function:
The function is usually linked to some input taken from the DefaultInput.ini file.
answered Feb 17 '15 at 04:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here