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.
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!
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.
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.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.