I was tinkering around with the default 3rd person template and i managed to be able to switch between first and 3rd person mode. However, i broke something somewhere and now i can not rotate/move my camera view unless my character is moving. I have no idea whats going on so could any kind souls here enlighten me?
*Changes were all done in “mycharacter” class blueprint
*i deleted the default “springArm”, added 2 “scene component”, 1 for 3rd person, 1 for 1st person.
*i used “world location” from the “scene component” to facilitate the transitioning between 1st/3rd person
*f_status is used as a boolean to determine whether if the current view is in 1st person(or not)
*The rest of the blueprints is exactly the same as default 3rd person template, did not make any changes to those.
Well the springArm is what is actually moving the camera around in the third person template.
You can either bring it back, attach the camera to it and then update the springArm’s “Target Arm Length” and/or the location depending on what you are trying to do (also make sure “Use Controller View Rotation” is checked in the component’s detail panel).
You could also try enabling “Use Controller View Rotation” on the actual camera itself or you can manually update the camera’s rotation based on the controller in the tick event.