Recent content by Guitz

  1. G

    I Traffic simulation : directed graph including specific rules

    thanks a lot for your replies
  2. G

    I Traffic simulation : directed graph including specific rules

    Hi all, I'm trying to use a directed graph for a traffic simulation program. This is an example of a simplified graph : The red triangle is the position and orientation of the car. The green circle is the destination node. I wish to prohibit a U-turn on a bend and a crossroads but I...
  3. G

    I Find the constant acceleration of an object that slows down to a standstill

    thanks again for your help, it works like a charm :smile:
  4. G

    I Find the constant acceleration of an object that slows down to a standstill

    Thanks for your replies. No berkeman this is not for schoolwork. I'm developping a software plugin in which cars follow spline S. An array of struct (SpeedLimit, Acceleration, Position, Tangent,...) is used, among other things, to define the speed of the car along S. When the car crosses the...
  5. G

    I Find the constant acceleration of an object that slows down to a standstill

    well i will fix that this way : if my object is close enough to a certain position X (after covering the distance D during the time interval T), then i update both the velocity and acceleration to zero, and i move my object at this precise location X.
  6. G

    I Find the constant acceleration of an object that slows down to a standstill

    Hi all, Let V be an initial velocity, D any distance, and T a time duration. which algorithm allows to obtain a constant acceleration A that make the object to brake from V to a zero speed over D during T? Thanks
  7. G

    I Realistic steering wheel angle when car follows points along a path

    Hi all, finally i computed osculating circle every frame. Thank you very much for giving me this solution. Not only this method offers a clean car behavior, but also it is more optimized than using Newton's 2nd Law by following a array of points.
  8. G

    I Realistic steering wheel angle when car follows points along a path

    Hello everyone, As suggested i will have to use osculating circles: What do you think is the best optimization/realism compromise? Should the car's OsculatingCircle be updated every frame from its trajectory spline? Or is it realistic enough to bake 1 OsculatingCircle per checkpoint, and...
  9. G

    I Realistic steering wheel angle when car follows points along a path

    Thanks again, i'll try to implement this
  10. G

    I Realistic steering wheel angle when car follows points along a path

    please guys, have a look at 2:25 The developer has the same zigzag problem as me. This is a very complicated issue to solve also considering i must also optimize/simplify a lot because i will allow the user to spawn max 5000 vehicules at runtime. Thanks for your help
Back
Top