Posts: 788
Threads: 22
Joined: May 2006
Reputation:
0
Edit: ignore this I'll read your edit and test it.
Posts: 1,501
Threads: 19
Joined: Nov 2007
Reputation:
0
So you want to get a point next to it or like north east of it?
Posts: 788
Threads: 22
Joined: May 2006
Reputation:
0
@Wierdosport
Didn't test that code dude but it will just give an opposite effect as the sum is still the same but on the other axis.
@Backwardsman
I'm after a formula so that I can get the point to the left or right from a given point, not a compass point but a point based on my angle. The one above does it for forwards and backwards based on your angle but I'm having trouble working out left and right.
Edit:
Actually I will go and test it as I don't want to be an idiot and skip past it.
Edit 2:
Yep it does the same, no joy.
Posts: 1,293
Threads: 6
Joined: Jul 2008
Reputation:
0
It wont give an opposite effect, that is done by changing -angle to angle. By changing which axis you alter, I am reasonably confident it would give the desired effect. I've tested it on 90 degree angles and it gave the results I'd expect.