Making Progress

After making the object rotate instead of directly change direction and also normalizing a couple of vectors, here is a new test, this one actually looks quite good. It still needs the walls, but it seems like it could really work!




here is a brief explanation:


As you can see, the yellow line is on the side where the Dot product returns negative, therefore the car would turn left on this case.

No comments:

Post a Comment