I have a object that pushing rigidbody forward when it's instantiated:
GameObject grenade = Instantiate(projectilePrefab, shootPoint.position, shootPoint.rotation);
grenade.GetComponent<Rigidbody>().velocity = transform.forward.normalized * 50;
It seems fine, but when I ran the game, projectile always not going straight and it's little bit moving left or right.
So I thought that shoot point wasn't pointing the right direction or my crosshair didn't centered properly, but unfortunately there were nothing wrong with them.
I think there's no extra forces that affects physics in my scene except gravity, and gravity has default settings which only affects downside. But why projectile doesn't go straight and move little bit left?
What am I missing?