I’m trying to rotate actors that have been spawned via AR to always face the iPhone camera. I’m not sure what the phone is considered in code. Using the player pawn location gives the location of the phone when the AR session first starts.
I would have thought the phone persisted being the player pawn and location updated while running the session, but it appears not to be.
Your comment replys lack any real substance. I am 100% aware that the camera/viewport is the physical phone. If the AR session had something like “GetPhoneLocation” then that sounds like it would be a better or more “proper” way. Either way, I have it working
You always have access to the camera and it’s vectors since it’s how a scene is rendered.
It’s part of/aaccessible from any controller with a little digging.
Surely they did not change this for the AR, because the t hey can’t. It’s part of the very basics of the engine…