Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Need help in rotating the character and animate walk where the user touches

Discussion in 'Editor & General Support' started by handsome_boy, Jun 18, 2012.

  1. handsome_boy

    handsome_boy

    Joined:
    Apr 24, 2012
    Posts:
    2
    hi, i am trying to develop 3d strategy game like commandos or something like that, i want to move the character where user taps on the screen, i easily moved the character to the tap point using deltatime + animate and translate functions but the real problem is that i want to rotate the character to that tap pointed and then move, and continously move to that point and once reached there then go to idle condition, following is the code i am using, I am using character controller so there is another problem character moves through the objects which i dont want :( please help, your help is needed....

    please give me the suitable solution ?
     
unityunity