Help ! Aiming Mode realtime 3D environments camera

Posted: 05:11 AM 1 Day Ago

hey, to the point. 'im just stuck with realtime 3D environments camera. i was try to edit the script one 3rd person tutorial from unity but icant. i want the camera like this when aim mode:

please help me. i need a script in JS and of course algorithm itself for my learning.

thanks for you help

ok thx very much… Well, actually i need the algorithm but since usually user only post the code and a little comment in script i think that will be hard to learn.