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.

How to do simple graphical animations on-click

Discussion in 'Animation' started by Velo222, Aug 29, 2013.

  1. Velo222

    Velo222

    Joined:
    Apr 29, 2012
    Posts:
    1,437
    This doesn't have to do with animating 3d characters per-se but I was wondering how to make a quick graphical animation, such as when the player clicks on the ground to have a unit move to that location (as in an rts game).

    For instance, in StarCraft 2 when a player clicks on a location for a unit to move, 4 graphical arrows quickly point to the location on the ground, followed by a small beam of light and a rotating green circle at the location.

    I know how to program the locational information, but it's the graphical part that I don't know how to do. Thanks for any help.
     
  2. Purpleshine84

    Purpleshine84

    Joined:
    Apr 8, 2013
    Posts:
    194
    Well, i guess you could use scripting for this or make the graphics yourself. There is a project (free downloadable) on Unity about AI, a beamer effect (well, at least it looks like a beamer) is produced via scripting.
     
  3. Purpleshine84

    Purpleshine84

    Joined:
    Apr 8, 2013
    Posts:
    194
    Search for: Dima Kurilchenko and download the AI demo. Good luck ;)
     
  4. Purpleshine84

    Purpleshine84

    Joined:
    Apr 8, 2013
    Posts:
    194
    BTW: also the green circle is in it (!)
     
  5. ttetsumako

    ttetsumako

    Joined:
    Feb 13, 2015
    Posts:
    1
    Thanks for sharing such info, Keep it up!!
    70-687