How should I make my character look up with a weapon in hand

I am coding a weapon System and I am wondering how I can make a players arms and head to go up and down depending on where they are aiming.

I currently have 2 possibilities.

  1. I make an animation going from down to up and setting the time of it depending on where the player is aiming.
  2. I make a code that moves the players arms and head completely based on where he is aiming at.

Which one of those 2 should I use and is there a better one out there. Thanks for your help :slight_smile:

EDIT: By better, I mean 2 factors: Optimisation and Smoothness

I made mine by making a custom player using StarterCharacter and using a Motor6D to weld the arms to the head to still make it animatable. But doing this towards the end of your game’s development would mean that you’d have to remake all of the arm related animations.

But i’d suggest the first option.

1 Like

I haven’t made any animations yet. But I also feel like the 1st option is better because I could simply have multiple animations for different guns grip.

Also, thank you for the motor6D idea. I ran into a lot of problems in the past and that idea could had solved a lot of them. Ill keep that in mind.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.