- Home /
How to create a cinemachine custom camera offset in the aiming direction
Hello,
I am currently working on a top-down shooter game for mobile devices.
I use two dynamic joystics: 1. to control the player movement 2. to control the turret canon direction.
I am using cinemachine virtual camera to follow my player and I'd like to create a subtle camera offset in the aiming direction when my player is shooting.
(Something like in this game: https://www.youtube.com/watch?v=MzGl05pOfdg . See how the camera moves when the tank is shooting)
any idea on how to achieve that?
Thank you very much for your help
Your answer
![](https://koobas.hobune.stream/wayback/20220613043748im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I move camera towards the mouse while anchoring it to the player? 0 Answers
How to apply fast & slow camera transition. 1 Answer
How can you move a camera a set amount of units based on the player's x position in a 2d game? 1 Answer
Topdown Recoil script 1 Answer
shotgun like shooting 1 Answer