- Home /
 
 
               Question by 
               unity_ySCvSWI4476hNw · Apr 14, 2020 at 02:26 PM · 
                cameracollisionphysicsrigidbodyaddforce  
              
 
              Addforce to ball in camera position
Hello. I am currently making a first person football(soccer) game. I have already got the dribbling physics right. now to make the shooting. What I want to do is, When I press the Left mouse Button, I want to shoot the ball where the camera is aiming at(the center of the camera) using AddForce. how to do that? sorry, I'm a noob in C#.
Any Help would be much appreciated.
               Comment
              
 
               
              Your answer