Gun aim scripting question

I often see games where weapons are attached to the torso, and it really does make animation easier. But I have a question: how do they script weapon aiming — like up and down? How will the weapon follow the hands if it’s attached to the torso?

(WorldModel, not ViewModel)

1 Like

Common methods like keybinds and/or mouse tracking would be implemented for this.

If you mean “hands” as in the arms themselves, it’s typically automated thanks to created attachments between the weapon handle and arm parts. (Given you’ve already set up the attachments for this to begin with, that specifically is not automated.).

1 Like