I am very new here and I believe that I will find an answer to my question here.
I am a 3d artist and has little knowledge of c# scripting. If anyone can help me out here, I shall be very very thankful.
I am working on a 2d unity game. I have an object and it rotates 360 degree automatically from its pivot point. All I want that if some tap on the screen then that object starts moving in the direction which it was pointing.
let suppose I have a canon which is rotating 360 degree and it has rotated let say 80 degree and some one tap on the screen then i want that canon move in that 80 degree direction at already defined speed.
I hope i have defined the problem in clear words.
Thank you all.