I am currently creating a game where you swing around weapons with physics.
As I have been improving on weapon handling, I got a problem. Some weapons have a different center of gravity (which I can change, but not optimal in my case), so I need to create multiple rigidbodies and colliders for a single weapon. For instance, I can have a club like below.
The top part of the weapon is of course a lot heavier. If I leave the center of gravity in the middle, the weapon simply does not handle nicely; a lot of force is lost while swinging because there’s not enough weight at the end of the weapon.
While researching, I found out I can do it with the 3D physics (fixed joints), but I’m using the 2D physics, so the option I had in mind was not possible anymore. How would I go about doing this?
Thanks in advance!