# Camera Rotation with Vehicle

**URL:** <https://forums.unrealengine.com/t/camera-rotation-with-vehicle/1928002>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [July 5, 2024, 11:17pm UTC](https://forums.unrealengine.com/t/camera-rotation-with-vehicle/1928002 "2024-07-05T23:17:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MadEyeMoody](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/madeyemoody/32/952294_2.png) [@MadEyeMoody](https://forums.unrealengine.com/u/MadEyeMoody)\
**Post date:** [July 5, 2024, 11:17pm UTC](https://forums.unrealengine.com/t/camera-rotation-with-vehicle/1928002/1 "2024-07-05T23:17:11Z")

</div>

I’m attempting to have a first-person camera in the driver’s seat of a vehicle account for the rotation of the vehicle while allowing the player to look left and right when driving. At the moment I have the camera as a child to a spring-arm and I have the logic in the photo below, but it doesn’t seem to do anything. The camera just stays facing the direction it started in. Anyone know why this is? Any help on how to resolve this would be appreciated.

 ![Screenshot 2024-07-05 160540](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/8/788084cf23ce9fec47c069b6356e6b7e89702163.png)

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [July 6, 2024, 12:47am UTC](https://forums.unrealengine.com/t/camera-rotation-with-vehicle/1928002/2 "2024-07-06T00:47:40Z")

</div>

Hey @MadEyeMoody!

I haven’t done this before but let’s take a stab at it!

How do you want to control the left/right look? Controller isn’t going to likely help here, we need to look at your mouse since you’re using W and S for acceleration/brake. I’m thinking you could imitate the camera control you would normally have on a THIRD-person template project here, only when inside the vehicle…

So let’s get some snips of what you have for looking around from your player blueprint and see what we can do with the mouse movement!

---

<div class="post-metadata">

**Author:** ![MadEyeMoody](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/madeyemoody/32/952294_2.png) [@MadEyeMoody](https://forums.unrealengine.com/u/MadEyeMoody)\
**Post date:** [July 7, 2024, 7:42pm UTC](https://forums.unrealengine.com/t/camera-rotation-with-vehicle/1928002/3 "2024-07-07T19:42:09Z")

</div>

Hey, I appreciate the replay. I actually solved this shortly after I posted. I took a look at the Racing Template and how camera motion is done there with Pawn Controlled Rotation turned off.

 ![Screenshot 2024-07-07 125812](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/8/e5848f055fe005ed01accf15d278bb9067081550.jpeg)

The only issue I’m having now is getting the Hand IK to attach and turn with the steering wheel. I asked a question about that in this post here.

[Making Hands Turn with Steering Animation - Programming & Scripting / Blueprint - Epic Developer Community Forums (unrealengine.com)](https://forums.unrealengine.com/t/making-hands-turn-with-steering-animation/1929715)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [August 6, 2024, 7:42pm UTC](https://forums.unrealengine.com/t/camera-rotation-with-vehicle/1928002/4 "2024-08-06T19:42:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
