I am making a game where there is a fort and you have to destroy the fort. Right now I am using the AddForce thing to give my bullet speed. However when I shoot the fort it goes flying into the distance. How do I make it so that the bullet doesnt have force but have speed instead?
You can set the rigidbody’s velocity value by using AddForce with ForceMode.VelocityChange as the optional second parameter:-
rigidbody.AddForce(velocityVec, ForceMode.VelocityChange);
cool thanks a lot!