Category Archives: Games

Unity – How to make things see where they’re going

While developing a game, I wanted to enable characters to see where they’re going; that is, to tell them what they’re about to stumble into, without using colliders. The answer was to cast a Ray, angled slightly downward, in front of the character, so it can see if it’s about to walk into a tree, or off a cliff, before it happens. Continue reading Unity – How to make things see where they’re going