Hi,
I need to animate many graphics, mostly representing ships, knowing their kinematics (position, course, and speed). Course is defined by an angle in degrees, 0 being north, 90 is east, and so on, regardless of the ship's position. The map is 2D, the course of a ship is a straight line. Kinematics will be updated at some point during runtime.
What I'm gonna need is some way to extrapolate their positions over time, and render the new positions.
I've come across this example and this PDF by @MarkBaird and Vijay Gandhi which are very helpful for the rendering part.
For the extrapolation part, I'm wondering if their is anything built-in for this kind of usage, or if I'm gonna need to set up a Thread that will calculate the new positions of the ships for every frame.
How would you do it ?