0 votes
by
retagged by
Hey,

Does VPP have a way to track driven vehicle distance?

Cheers

1 Answer

0 votes
by

You may write your own custom component that tracks the distance driven by the vehicle. You may do that in several ways:

  • Calculate the position difference between two simulation steps (FixedUpdate) and accumulate it.
  • Integrate the velocity along time.
  • Measure the rate of rotation of one or several wheels and, given their radii, calculate and accumulate the distance traveled.
...