that is done by aim offset. but you must have some animations (AimSpace Animation) if you have not ever read about aim offset there are some good tutorials for it. here is a video
■■■■, you beat me to it. +1 !
Thanks very helpful
These totoreals were very helpful, but i don’t think they can help me achieve what i want.
It’s an fps so i don’t need to blend the weapon with the body cause i can’t see my body. I want to the weapon to smoothly tilt towards the direction that the player is looking.
If i can achieve this with aim offset could someone show me that?
if you implement the same as those tutorial in a third person game yourself. you will probably understand how aim offset can help you achieve what you are looking for. those smooth weapon movements toward the aim direction are only animations**(aim space animations)** nothing else. in fps you also need to blend weapon with body (player arms). so the concepts are the same.
ask your new question separately in a new one so people can see and help you.
the smooth weapon movement in this video is implemented by an aim offset and aim space animation. imagine how it would look like if the camera were closer to the weapon.
when you implement an aim offset you will see that weapon moves a little sooner that camera toward aim direction and that’s why you feel smooth movement toward aim direction
I suggest you implement an aim offset first then judge
Thanks for the help