Vehicle Template - Free-look third person camera

No worries man, its all good :slight_smile:

If all you need is to be able to move the camera around the vehicle, all of the above is not actually necessary… What it does is allow you to rotate the camera and then it will move the camera back to the default location behind the car when you are not using the look controls, but the basic rotation needs to be added in first.

You will need to setup a couple of InputAxis events as well, go to Edit -> Project Settings and find the Input tab, from here you will need to add 2 Axis events and hook up the Mouse and Gamepad (if you have one) to look like :

With that done, you will now be able to go into your blueprint and set up the input events shown here:

The “Camera Axis Rate” is a float variable that is set to 80, it controls how quickly you can rotate the camera, it is mainly used for the gamepad controller. If you are only using the mouse you can hook up the “Axis Value” from the event directly into the Add Control Yaw & Pitch nodes instead, and remove the multiply, Get Delta Seconds, and the Camera Axis Rate variable as they are not necessary.

With the above setup it should now rotate properly around the car, if not make sure the Use Control Rotation checkbox on the SpringArm is checked, and the same setting on the Camera component is unchecked as mentioned previously.

Let me know if you need more info! :slight_smile:

EDIT: Lol, i just noticed a mistake in the picture above, the Branch node for the Yaw axis mapping should be using the False pin instead of True, I guess that explains why the camera was constantly resetting on me… make sure if you use the method above to swap that pin :slight_smile: