Jawlswyno Feb 10, 2013 @ 8:48pm
Rotated Paths
Have the following code:
direction=point_direction(x,y,mouse_x,mouse_y);
image_angle=direction;
misslepath=sidewinderr
path_rotate(misslepath, direction);
path_start(misslepath, 7, 2, false);

which seems straight forward, direction from where it spawns to mouse, rotate path to that direction follow that path.
Instead for results I have a path that keeps rotating as I click the same point and it doesn't seem to follow the direction at all, not seeing a lot of discussions on the web on this so hoping someone knows a source with samples or explain what gives.
Last edited by Jawlswyno; Feb 10, 2013 @ 8:52pm
Showing 1-1 of 1 comments
< >
Jawlswyno Feb 10, 2013 @ 9:08pm 
Solved it with path_orientation, seems I had multiple problems that was masked as one. Still would like some samples of path_rotate if someone knows of any.
Last edited by Jawlswyno; Feb 10, 2013 @ 9:25pm
Showing 1-1 of 1 comments
< >
Per page: 15 30 50
Date Posted: Feb 10, 2013 @ 8:48pm
Posts: 1