constrain actor to mouse, along a randomly rotated line

mu-kowAPPSmu-kowAPPS Member Posts: 233
edited December 2011 in Working with GS (Mac)
while i try to work this one out, ill ask for help here on the forum.

i have a line that will be placed with a random rotaion 0-360, i would like to be able to slide another actor along the line (plus and minus 125 pixels distance from the center)

i dont want the actor to have any play sideways, just along the line

i have attributes constrained for distance from center , line x and line y

i just need the math!

thanks in advance!

Comments

Sign In or Register to comment.