Report, edit, etc...Posted by MapUnprotector on 2005-02-19 at 16:13:14
Could someone take a look at the map I'm working on and tell me why it isnt working? Basically its supposed to get the coordinates of the interceptor. Then once a person brings a scourge and touches it, the interceptor moves to the edge at a 45 degree angle depending on where you hit the interceptor. It takes the coordinates of the interceptor then adds or subtracts the X and Y until it reaches an intercept which would be the 45 angle but it doesnt seem to be working -.-
Report, edit, etc...Posted by LegacyWeapon on 2005-02-19 at 16:45:09
How about instead of using the coordinates system, use just locations.
Like when hitting a wall, calculate which direction you have been going and change directions accordingly. Then when you hit a scourge, see where the scourge is in comparison to the ball and then change directions accordingly.
Report, edit, etc...Posted by MapUnprotector on 2005-02-19 at 16:47:58
but then the scourge would be going to the same spot everytime, I just want to know what is causing the problem right now.
Report, edit, etc...Posted by Yenku on 2005-02-19 at 16:54:17
you could make like a trillion locations. or i could try and c what your problem is
Report, edit, etc...Posted by MapUnprotector on 2005-02-19 at 17:05:31
QUOTE(Yenku @ Feb 19 2005, 05:54 PM)
you could make like a trillion locations. or i could try and c what your problem is [right][snapback]148994[/snapback][/right]
I like the second idea -.-
EDIT: Kenoli has helped me solve the problem and its looking good so far.