How to change default camera to CameraComponent
Hi, I have following problem, I create CameraComponent in my base C++ class for Character
So far everything looks good - the component is created and assigned to object. Now comes the tricky part. When I start game I can see there is some default camera created
Now whenever my character moves I see camera standing still in place. But as I said, there is also CameraComponent in my Character
And after I click on DefaultCharacterBP40 the camera switches and now it is following the Character.
Question - how do I make that switch from the very beggining? I want my default Camera to be the one from CameraComponent. And how do I remove this one automaticaly added camera?
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
answered Nov 03 '15 at 09:05 PM
You didn't attach the Camera to your actor.
And if you just want to change your view target you can use SetViewTargetWithBlend
Follow this question
Once you sign in you will be able to subscribe for any updates here