https://youtu.be/nfuCJCnKtU0 Video showing the issue
Whenever I pick up a gun in my game, the player drops the old gun. The issue is that the newly dropped gun uses the dimensions of the gun that was just picked up, so shorter guns look stretched, and longer guns look compressed.
From bug testing, it seems like it is using the dimensions from the first frame of the animation
What happens when the player picks up a gun? A variable saves the player's current weapon, and the player's weapon is changed to the gun on the ground, and the gun on the ground is immediately destroyed. Afterwards, a new gun is created and switches its frame to the player's previous weapon.
SS of Code
SS of Frames and Animation