Traffic simulation - stopping a car - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Game Development (https://python-forum.io/forum-11.html) +--- Thread: Traffic simulation - stopping a car (/thread-10996.html) |
Traffic simulation - stopping a car - darter - Jun-17-2018 Hey, I am just wondering how I might simulate an automobile traffic situation. For example, driving down a road, encountering an obstacle (maybe a stopped vehicle) and the simulating the 'normal' reaction time to bring one's vehicle to a stop. This could even be very abstract with vector line drawing or, instead, realistic with planes that are painted with photographic images. I would like to start with this scenario: a curvy road that changes altitude (mountain driving) and encounter a 'deer' on the road. That kind of thing. What was the drivers view of the obstacle. When will the car stop given normal human reaction time? I am also wondering about the 'clock' aspect of this. Will my CPU steal clock cycles and make the timing unreliable? Is there a workaround for this? Just wondering how you all might think of this. Is this a good Python project? |