Wront rotation of spawning bullet

So, my bullet is always spawning in this rotation: alt text

My spawning script look like:

a = Instantiate(bullet, miejsce, Quaternion.identity) as GameObject;

Changing third argument is seting bullet’s way, not rotation of model(object).
Way of bullet is working good, just got problem with model’s rotation. How to fix it?

adjust the rotation in the model file :slight_smile:

Try this code :

shot = Instantiate(bullet, gameObject.Find("spawnPoint").transform.position, Quaternion.identity;
shot.rigidBody.AddForce(transform.foward * 1000);

If this doesnt works go to blender or whatever modeling program and rotate the bullet foward
and test.

Hope this helps :smiley: