Announcement

Collapse
No announcement yet.

How to set camera position from within PlayerCameraManager?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to set camera position from within PlayerCameraManager?

    Hi folks,

    I'm trying to learn and understand the basics of UE4. I'm just trying to put together a third person camera that follows my player around. Currently, I'm just trying to make the camera sit at some fixed location behind the player, and have it looking at the player. In the future, I'd like the camera to be adjustable via user input similar to the camera in World of Warcraft, or even the third person camera in the UE4 sample projects.

    I'm not looking at those projects in an effort to try to learn how this works for myself, and then once I get a grasp of it I will look at how those projects do it.

    It's my understanding that the PlayerCameraManager class creates a camera and manages it. I've got a custom class for that, but I'm not sure how to set the camera's position from within the UpdateCamera method.

    How do I set the camera's position from within UpdateCamera?

    Thanks!
Working...
X