Transform.forwrard of a Sprite?

Hi,

Since most code that I’ve stumbled upon shooting (bullet instantiation) uses transform.forward, I tried it and transform.forward of my player or weapon object on it’s hand are always (0,0,-1) no matter which direction I move.

So how can I set transform.forward for my 2D sprites?

Use transform.up or transform.right, depending on which way is “forward” for your sprite.