Announcement

Collapse
No announcement yet.

Set Camera -> Pawn's Camera Component

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

    Set Camera -> Pawn's Camera Component

    Hello,

    If I have a pawn with a camera component, then the PlayerController makes this pawn using 'spawn actor from class', how do I set the camera the player is using to this pawn's camera component?

    Thank you.

    Click image for larger version

Name:	camcomp.jpg
Views:	1
Size:	87.1 KB
ID:	1140476

    #2
    I found the answer after reading back through the documentation here: https://docs.unrealengine.com/latest...ors/index.html - seems like every time I do things that didn't make sense or matter before do now.

    Rather than accessing the component specifically I set the pawn itself as the camera and it uses the camera component.

    Comment

    Working...
    X