Been working on my WWII fps for a while now and I am pretty stuck with doing animations. I could get pretty much everything to work, but switching parents during an animation is just not possible according to unity since it breaks everything.
here’s a little screenshot of how everything is arranged just so you have a better idea :
Basically, all the bolt action rifles need the right hand to perform the reload action. But the issue is my weapon socket in which I place all my weapons is a child of the right hand.
Now, I use the animator to play the reload animation so that the right hand does the reload movement, but when it does well obviously the weapon socket moves because it’s a child, and I need it NOT to move, so like to block all changes to it.
I wanted and tried to swap the parent at runtime so I made the weapon socket be a child of the left hand when the player performs the reload animation, but then rotation gets all weird and I can’t have it to just change parent but not change its own rotation
I just want to be able to perform a reload animation for bolt rifles without having the weapon socket going crazy, is that really so hard to do?
interesting. the issue is the game im working on already has a huge system for all the gun mechanics but again i am seeing your issue with not being able to rip the ik from the right hand to allow a bolt action animation.vary frustrating