Hey, I am working on a gun script, the projectile is currently flying up and I want it to instantiate flying forward, by rotating it by 90 degrees x. I am using this script but Im not good enough with Quaternion Euler angles to modify the script in such a way, can anyone help me?
function FireOneBullet ()
{
var Bullet = Instantiate(Bullet, FirePoint.transform.position, transform.rotation);
Ammo --;
}
this is best fixed by going into a modelling program and rotating the object so the it’s properly axis aligned (and therefore its forward is it’s forward in unity on import)
YOU DO NOT WANT TO KEEP FIGHTING THIS EVERY TIME YOU WANT TO GET THE BULLETS FORWARD BACKWARD LEFT RIGHT UP AND DOWN.