Point me in the right direction - Swipe to move actor

Hello! I've been lurking these forums for quite some time, just haven't taken much time to post. I would like to say that this is definitely one of the better communities out there!



I have been messing around with this program for about a year, but only recently started to dive in a little more seriously.

I've learned quite a bit over the last few weeks.

I am trying to learn different techniques for game development, and for the life of me I just can't seem to figure out how to accomplish what I'm looking for.


I'm currently on my phone, so I'm not sure how to post a pic, but if I don't do a good enough job explaining what I'm trying to accomplish, I will gladly post one when I arrive home from work.




Imagine you have a rectangle with 4 sides. How would I go about swiping the left side and have a line follow slowly along the path in a straight line until it reaches the right side.

Upon reaching the right side and touching the wall, said line would become "solid".


I have tried to research this kind of technique, but to be honest, I'm not quite sure what to search for!


Thank you for your time,
God Bless.
Sign In or Register to comment.