N
N
Novomir Lobanov2014-11-18 16:11:57
JavaScript
Novomir Lobanov, 2014-11-18 16:11:57

How to animate a car while turning?

Good afternoon!
The site has a block "Stages of work", upon reaching it, the animation of a moving car begins. Could you tell me how to implement the correct behavior on turns?

69.0409.ru - site
69.0409.ru/js/main.js - trajectory

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Scherbakov, 2014-11-18
@Altaisoft

The path can be set using SVG and animated, for example, with a library: dropthebit.com/592/pathanimator-moving-along-an-sv...
Let's say if you have a smooth turn, the car will smoothly go around it and look in the right direction - nose forward.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question