UnityNinja Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

UnityNinja CommunityLog in

UnityNinja - Video Game Development Community, including Resources, Forums, Marketplace & More.


descriptionDrawing a path for an Object to Move Along EmptyDrawing a path for an Object to Move Along

more_horiz
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!

descriptionDrawing a path for an Object to Move Along EmptyRe: Drawing a path for an Object to Move Along

more_horiz
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.
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply