Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

C++ camera component can't look up or down

I replaced the standard blue print camera with a c++ version so it works with my other functions that have been converted to c++

m_camera = CreateDefaultSubobject<UCameraComponent>(TEXT("camera"));

but for some reason even though the m_camera node is connected to everything the blueprint node was I can’t look up or down. is there a way to fix this? I have done nothing to change the mouse input part of the default blueprint
enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

and the components that were part of the original camera were moved over to the c++ cameraenter image description here

I also can’t see the details panel for the camera

enter image description here

>Solution :

Check your values for UseControllerRotation

enter image description here

To see details for the camera it has to have a metatag EditAnywhere in the .h

UPROPERTY(EditAnywhere)
UCameraComponent* m_Camera
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading