HI all,
i feel i bit dumb here but forgive me since unity 2D is new to me…
in 3D when i wanted to shoot projectile in any angle i just instantiate it and the projectile inherit the spawn object rotation. then all i had to do is to advance the projectile in Vector3.forward (which is Z axis). but now in 2D Vector3.Forward is useless. how do i get the same effect of shooting projectile in the player angle?
i prefer using Transform.translate then Rigidbody2D.addforce…
thanks!!!