JakeCataford / unity-tinkerbox

A Collection of game-independent unity scripts.
5 stars 1 forks source link

Add method for agents to determine if a wall is nearby #16

Open JakeCataford opened 10 years ago

JakeCataford commented 10 years ago

Should be pretty easy to do and could prove useful.

Overlap circle 2D for a limited range, sort by distance to overlapping colliders then return the closest that doesn't belong to the agent itself.

JakeCataford commented 10 years ago

Include unity steer or something similar to make movement a little more believable