align my ship along the spline
BlitzMax Forums/BlitzMax Beginners Area/align my ship along the spline
| ||
Hi ! How to align my ship along the spline ? Could you help me with some ideas ? Thanks ! ![]() My code : ![]() ship.png |
| ||
This might help. attack waves <edit> Hmm, maybe not as it won't align the ship. |
| ||
would you just need to get the position of the ship and then the next position, use atan2 (nxtx - curx, nxty - cury) and the set that as the drawing angle. |
| ||
Thanks Diablo :![]() ship2.png |