I try to make an fps game. I dont shoot bullets, instead i use rays and a python script.
Now i want to add a weapon in front of the player and if the player shoots it should animate the weapon but i cant figure out how to do that.
When i set the player to be parent of the weapon, the whole player moves, if i dont parent it, the weapon stays at its position and dont follow the player.
How can i archive this accordingly?