Greetings, Sony’s Concord has a shotgun named “Skullbreaker” which uses a rotary magazine that visually changes the number of shells based on how many the player has loaded (https://youtu.be/sLLSpvepv_g?si=uCIKriCXP52Uz4i- at 4:38). How can this be accomplished in UE5? Thank you for your time.
Shotgun with an semi-exposed cylinder? Not certainly something that you see everyday, but it’s certainly possible.
So here’s the code on how to reload an pump-action shotgun, specifically the shell-by-shell bit
But with modeling the shells in the cylinder, it’s kind of complicated. Granted, it’s simple to have an socket for each chamber, sequentially emptying them, and attaching an shell to the empty sockets. But the main hurdle is that your ammo capacity has to stay consistent with your model.
Other that Wikipedia has an quick reference on their Cylinder_(firearms) page for how much that the cylinder should rotate each time you fire and reload it shell by shell
Bump