How To move pawn(Not Charcater) based on camera

I know in Character class that it can change Character movement Based on the camera, But AnyBody Know How to change Movement based on the camera for Pawn also.

Are you wanting to move based on the forward vector of the camera?


Here’s my suggestion.

Add an Arrow Component and attach your spring arm and camera to it as children (with camera being a child of the spring arm). Then rotate the arrow component along z-axis and spring-arm along y-axis.

Then when you want to move your character forward, you just get the forward vector of the arrow component.

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