Changing Shoulder View Issue

Hi there, I´m having an Issue with my change shoulder view system. I´m in a third person situation that when I press the mouse wheel the camera will change between Right Shoulder View to Left Shoulder View, but the issue… well I´m not certain to how to explain the issue so I´ll leave here some pictures:


Shoulder Swap System Blueprint

Screenshot 2024-04-09 184915
CameraBoom (SpringArm) Offset

And the issue:


When in Right Shoulder View if I rotate to the side of the character (in this case right side) the position of the crossair is where the blue arrow is pointing so in the front


BUT! When in Left Shoulder View if I do the same and rotate to the side of the character (in this case right side) the position of the crossair is where the red arrow is pointing so in the middle

Making it so that the Right and Left view are somewhat different when turning around which is something I don´t want.
Is this a common issue in this kind of systems? Does anyone know how to fix this?

Thanks in advance.

A great day or night for anyone that see this!!

You need to use the socket offset of the camera boom


This will ensure the rotation stays when turning the character. Animate the socket offset parameters of the camera boom with the timeline and not the direct position of the camera.

1 Like

Hey @RodericDarkwell!

Instead of using the “Set Relative Location”, try changing the camera boom’s Socket Offset to 0,-35,0 since for the right side it’s set as 35.

You may have to adjust the target offset as well, but it’s just as simple. :slight_smile:

image

The problem here is you’re adjusting the camera boom’s location as a whole instead of the offset. You should be able to just invert the Y offset and it go to the same spot on the other side of the character.

Just tried this to make sure it works, give it a shot. You might not be able to do this with a lerp, of course, but you seem like you can figure it out pretty easily. I think the main thing is you need to set socket offset instead of moving the entire boom.
image

1 Like

FINALLY!! It totally worked, I can´t believe how simple the fix was ahaha! Thank you so much I´m glad that rookies like me can find people like you to help us. I couldn´t be more thankful!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.