I have two pawns, one FirstPeronCharacter and one based on the rolling example. What I’d like to do is be able to switch between the two, and use the rotation of the old pawn in the new pawn.
I have everything working except transferring the pitch when possessing the FirstPersonCharacter. Yaw works fine. I’ve tried setting the pitch of the character itself, which works, but has undesirable side effects. I’ve tried setting the pitch of the camera, which is what I’d expect to work, but the pitch gets reset to zero regardless of if I set the pitch before or after the possession.
If I set it to print the pitch of the camera every tick, I can see the correct pitch go by for maybe five ticks, but then it gets reset to zero. It’s not even long enough to notice.