Computer Science Canada Trig |
Author: | upthescale [ Thu Jun 08, 2006 9:58 pm ] | ||
Post subject: | Trig | ||
my problem is that it can exten, i want the line to be about 2 inches long, but notice when u move ur mouse it will extend, how cnai prevent this? |
Author: | Clayton [ Thu Jun 08, 2006 10:14 pm ] |
Post subject: | |
it is extending because you have your mouse variables in there, which can change to a larger amount than you want, to fix this have an if statement to check if the line is longer than the desired amount, if it is set the variables controlling x and y to a certain amount, also why do you have two Mouse.Where with the exact same parameters? the second one is achieving nothing at all |
Author: | upthescale [ Fri Jun 09, 2006 10:29 am ] |
Post subject: | |
ops i didnt meen to d that lol thx |