Bizarre issue with player character and camera

Forum’s thread: Bizarre issue with player character :( - Feedback & Requests - Epic Developer Community Forums(

Using 4.12.5, had no issues like this one, ever…

I opened my project today to work on a few things and discovered this bizarre issue:

Camera is locked to 0 0 0 of the world and even if I move the actor, camera stays at 0 0 0. It totally screwed up whole project :/

Has anyone had such issue? What could it be? How to fix?

Thanks

P.S. Oh, and on top of that input is locked too. When I press Play (PIE) and right away move mouse, I can see view momentarily following it and then snapping back to default position/angles. WTF?!?!?!?!?!

If anyone from Epic needs to see my project, I will be more than happy share it privately. Just let me know how (PM on the forum?)

Hi motorsep,

Where are you setting the location of “Camera Anchor”? It looks like you may be implementing a world location value instead of relative, which would explain why this is occurring. If you are passing in a relative location, can you show me your event graph and construction script so I can get a better idea of what may be occurring?

Hi ,

At work right now, but will show stuff when I get back.

I literally don’t set location of Camera Anchor in BP (BP nodes that is). I am using FPS template and it all worked until yesterday (I’ve been working with the same project from 4.10, converting it to newer version when updated). Everything is parented in the player character’s BP viewport and I only have capsule tracing and few other things added that don’t manipulate neither camera nor camera anchor.

The reason your camera is locked is because the CameraAnchor component’s transform Location is set to Absolute Location, as shown here:

To fix, simply click on the little down-arrow next to Absolute Location and change it from World to Relative.

Yep, that was what I discovered before I posted reply to you on the forums :slight_smile:

Thanks!