This page looks best with JavaScript enabled

Experimenting with Obstacle Avoidance in Unity 3D

 ·   ·  ☕ 1 min read

Lets explore building a self steering ship that can automatically move out of the way of obstacles in it’s path. This is a form of steering algorithm which is used to steer a object towards in objective, in our case we’ll be using it for obstacle avoidance.

This approach works by casting a number of rays in front of the ship which can detect obstacles in the way. Each ray provides a portion of the force in it’s direction, when the ray detects an obstacle the force it would apply is reversed.

Join the World of Zero Discord Server:

Sam Wronski
Sam Wronski
Maker of things, currently helping build cloud things @ Microsoft. World of Zero is a one of my personal projects. Lets make something awesome together!