Question by
hidonut123 · Sep 17, 2015 at 07:42 PM ·
c#2djavascriptgameobjectsprite
How to make sprite follow gameObject on trigger?
Say I have a sprite already following another gameObject immediately after its instantiated. How would I make it so that once a moving sprite (with a boxCollider trigger) collides with my sprite, then the target of the original gameObject will change to the moving sprite once they collide, or enter the trigger?
Thanks, Any help is appreciated.
Comment