I’ve uploaded two static images here. So what I have going now is that when I click an enemy, the actor will torso twist in the direction and fire the staff.
That all works fine except that the staff always misses the target. You can see the red lines indicate the forward vector of the twist, but the weapon is wide of its mark.
I thought that simply putting an offset would work, but it seems a static offset doesn’t fix the problem. (Because the staff is off to the side of the model I needed to account for that)
I am looking for advice on how someone would in say a turn based game when they need to twist the actor’s torso to shoot at an enemy and guarantee that the weapon hits, what are some workflows to consider?