Hi guys, i'm running into a problem, my robot are using RayCast() to check if there is any obstacle before moving to that position, however in situation when there are 2+ robots, they can not predict the other move part and collide with each other., i've tried to put a box collider into the front of each robot but i can't find a way for a robot to ignore its own collider but still recognize the others one, thanks for all your support
#Obstacle detection for AI
1 messages · Page 1 of 1 (latest)
Move the box-collider first, then check if there are more than one boxcollider
(robots assume that there will always be one box-collider that is their own)
If there’s more than one box-collider then another robot’s about to move there, so change direction.