I have 2 entities, one is chasing the other in 3D space.
They are both moving forward at a constant speed and are programmed to turn to face their targets.
Problem is, there is a huge cube between them.
How would I tell them to go around the cube instead of bumping into it?
How would I get them to recognise that there is an object in the way that needs to be navigated?
Is there a way to make them align to the normals of the cube? - this would allow more complicated obstacles.
How would I get them to realise that there is no need to follow the cube around anymore?
They are both moving forward at a constant speed and are programmed to turn to face their targets.
Problem is, there is a huge cube between them.
How would I tell them to go around the cube instead of bumping into it?
How would I get them to recognise that there is an object in the way that needs to be navigated?
Is there a way to make them align to the normals of the cube? - this would allow more complicated obstacles.
How would I get them to realise that there is no need to follow the cube around anymore?