In my game I have the camera 45 degrees rotated around x axis, looking down at game area.
I have gun turret and it fires bullet prefabs created from 2D sprites.
Sprite image is as shown below.
I get the direction vector to the target,
direction = (target - startPosition).normalized;
But I can’t get the bullet sprite to rotate to the correct orientation.
Can anyone provide some help?