I am Instantiating a Capsule GameObject that will act as a bullet and it always is standing up even if I change the rotation.
Here is the code I'm using to create it:
GameObject clone = GameObject.Instantiate(prefab, transform.position, transform.rotation) as GameObject; and for the prefab's script:
rigidbody.AddForce(transform.forward * 856); I tried changing the rotation on the object but nothing seems to work. Any suggestions? Again, I'm not trying to have it rotate all the time after it's created, I just need it to be pointing forward instead of standing upright.
Thank you.