Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

I want to make tank move where I touch

Discussion in 'Scripting' started by EmeraldThunder, Feb 23, 2018.

  1. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
    Hi

    I want make a vehicle to move to where I touch

    I need script related to it to be assigned for the vehicle


    sshot005.jpg

    then

    2.jpg


     
  2. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,900
    EmeraldThunder likes this.
  3. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
  4. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    9,900
    I won't write your code for you. I will just throw some ideas at you to think about:
    - what do you think the difference between a vehicle and a human from moving point of view
    - where you can find those specific places in the adventure tutorial
    - how you can fix those?
     
    EmeraldThunder likes this.
  5. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    No one here is going to write an entire script for you. Show us what you have, what you've tried and where you think it's going wrong and we'll point you in the right direction.
     
    EmeraldThunder likes this.
  6. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,113
    EmeraldThunder likes this.
  7. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
    Thanks a lot
     
  8. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
    but if I use character controller for vehicle the vehicle will move weirdly as if it is walking....stepping
     
  9. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
    Can some one help me I am looking for a way to make vehicle smart and it moves where I touch....thanks
     
  10. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    I think that the previous replies to this thread were trying to tell you that you can learn the general idea of "click to move" and apply it to your situation... some modifications may be necessary.
     
    EmeraldThunder likes this.
  11. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
    its very hard...I cant believe no one like to help me and give me the exact answer I am looking for....so sad
     
  12. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
    such an amazing Program and amazing Forum like this no one help me....I will tell Mom
     
  13. Ceciphar

    Ceciphar

    Joined:
    Jan 21, 2017
    Posts:
    51
    You don't learn by copying you learn by understanding.
     
    EmeraldThunder likes this.
  14. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    We are trying to help. What have you tried so far?
     
  15. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,657
    LurkingNinjaDev and dgoyette already pushed you in the right direction. You're lacking knowledge of scripting from what it looks like. We all been there, don't worry. Luckily, Unity has some pretty helpful tutorials available that you can find here: https://unity3d.com/learn/tutorials/s/scripting
     
  16. Mokzen

    Mokzen

    Joined:
    Oct 10, 2016
    Posts:
    102
    EmeraldThunder likes this.
  17. EmeraldThunder

    EmeraldThunder

    Joined:
    Jan 10, 2016
    Posts:
    50
    thanks all