Edited by kaibil, 05 June 2012 - 05:44 PM.
3d position calculations
#1
Posted 05 June 2012 - 05:44 PM
#2
Posted 05 June 2012 - 06:01 PM
y2=y+lengthdir_y(10,direction)
compared to original coords, new coords will have moved 10 pixels in direction direction.
Edited by PoniesForPeace, 05 June 2012 - 06:01 PM.
#3
Posted 05 June 2012 - 06:08 PM
x2=x+lengthdir_x(10,direction)
y2=y+lengthdir_y(10,direction)
compared to original coords, new coords will have moved 10 pixels in direction direction.
Thank you! Works like a charm.
Edited by kaibil, 05 June 2012 - 06:08 PM.
#4
Posted 05 June 2012 - 07:59 PM
x2=x+lengthdir_x(10,direction)
y2=y+lengthdir_y(10,direction)
compared to original coords, new coords will have moved 10 pixels in direction direction.
Thank you! Works like a charm.If I ever release this game ill make sure to give credit.
not neccesary, but sure
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











