Camera in game is in different location then where it's set in blueprints

Lowenfas
Sat, 30 Apr 2022 14:01:52 +0000
Character & Animation

The issue I’m having is whenever you aim down the sights on your gun the game is supposed to switch camera to my “ADSCamera” which is socketed to the gun so as the player you can actually see and manually aim the gun.
Everything looks just fine in the blueprints until you play the game and aim, you can see it does switch cameras but the camera location is noticeably off from the socket it is attached to.

Two pictures of where the camera is socketed. The camera does move with the gun in his ADS animation.

The only code I have for when you press the aim button.

What you actually see in game… Significantly off. I am not concerned with the culled geometry, only the camera location.

The camera animates with the gun but why is it not in the same location as that socket it’s attached to?

5 posts - 2 participants