Setup Dynamic Recoil to Crosshairs and Projectiles
Create a 3D Object Sphere and name it “Player”.
Then add component “CrosshairDemoPlayerRecoil” into the player object. (If you have a player object already, you can just use your own.)
Make the main camera a child of the player object.
Open the folder CrosshairAssembler/Demo/Prefabs and make “Aim” and “Gun” child of the “Main Camera”. (You can just drag and drop.)
Click a game object “Player” in the hierarchy. Drag “Projectile” in CrosshairAssembler/Demo/Prefabs into the slot projectile on the Crosshair Demo Player Recoil script on the player.
Then drag “Aim” and “Gun” that are the child of “Main Camera” into the slot aim and gun on the Crosshair Demo Player Recoil script on the player.
Play and fire (left click) to see the dynamic recoil response.