- Home /
How to make my shooter inherit velocity
I have a basic shooter that shoots a sphere, the problem is when i move and shoot, the spheres appear to move much more slowly, is there a way to make the bullets shoot, and take my velocity into account so it will shoot faster if I'm moving forward, but normally if I'm standing still. Thanks for any help
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by Ginxx009 · Dec 10, 2017 at 04:20 AM
You can simply do it like this .
 / give it the same velocity as the current object
 newObject.rigidbody.velocity = rigidbody.velocity;
 newObject.angularVelocity = rigidbody.angularVelocity;
Your answer
 
 
             Follow this Question
Related Questions
C# Bullets do not fly, just fall... 3 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Multi-Pierce Raycast Shot. 2 Answers
2D top down dash code 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                