API

Getting Started - Chapter 4 - Avoiding Collisions

A Bump in the Road

Or rather, a way of avoiding one. Just a quick step this time. Our character is moving around the village, and we want him to avoid being hit by a passing car. We set up a danger zone that stops the character in his tracks when the car enters it. Unless, of course, he is already in the danger zone, in which case he had better keep moving.

Coming next

Getting Started - Chapter 4 - Avoiding a Car Crash
Learn how to avoid collisions between your characters and cars in the village.
Getting Started - Chapter 4 - Avoiding a Car Crash