I am new to unity, I cannot figure out how to implement this in my script for bullet.
void update(){
float amtToMove = 10 * Time.deltaTime;
Transform.translate(vector3.right*amtToMove);
}
This makes the bullet go to the right.
The bullet is instantiated in a different script.
I want the bullet fired by the FPS to move in the direction it was fired. How do i manipulate x and z axis to do that. Thanks in advance.