Navmesh unity - Click & show / instance Sprite mark

0

I have a navmesh which I go through with my agent with classic click to move mechanics .. but I need to instantiate a Sprite in the navmesh when I click before passing the new Target to the agent as in any MOBA game: but when I use the transform that happened to the agent to move the Sprite, it positions itself in another totally different vector3 .. what would be the correct or more efficient way to do this? Greetings

    
asked by Elpingui8 06.02.2017 в 14:59
source

1 answer

0

Try to instantiate an empty gameobject in the mouse position, then you will only have to instantiate the sprite to the empty gameobject.

    
answered by 20.02.2017 в 01:12