Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » HELP » Help (General) » Drawing a path for an Object to Move Along

Drawing a path for an Object to Move Along

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Drawing a path for an Object to Move Along on Thu Jan 05, 2017 2:53 pm

ItsTheSneak


Member [Lv. 1]
Member [Lv. 1]
It's my first post here.

So, I've been looking for a way to make a game where you draw a path on the screen by the mouse or touchscreen. Once you've drawn a path, your player moves along that path. I'm thinking of making it work similar to this game:


Any ideas, guys?

Thanks!

View user profile

DeveloperLuke

avatar
Moderator
Moderator
Create an array of touch positions (vector2) and then use a for loop to place an image at each position and you can rotate each of the images to either the next position or from the previous position.

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum