dimanche 11 avril 2021

The best way to make an object travel a certain path based on live input, in Javascript

For a project, I need to have an object drive around on an illustration of a race track.
In the process, I receive continuous information about where the vehicle should be on the track.

This means that I know where the vehicle should be on the track and must move it accordingly.
The track itself has several lanes and accordingly the vehicle must be on the correct lane.
The track may look like this:
Image of Track

My question is not necessarily how to solve this, but whether Javascript offers ways to make this problem solvable.
I'm asking more for a hint in the right direction

I apologize if the English in this post is a bit bad, because I used a translator.

Aucun commentaire:

Enregistrer un commentaire