10-28-2022, 09:36 PM
Ugh! you make it W A Y too complicated! Sorry I got to say.
dx = change along x axis ie xnew = xold + dx
dy = change along y axis ie ynew = yold + dy
dx = speed * cos(directionRadians)
dy = speed * sin(directionRadians)
dx = change along x axis ie xnew = xold + dx
dy = change along y axis ie ynew = yold + dy
dx = speed * cos(directionRadians)
dy = speed * sin(directionRadians)
b = b + ...