Move towards nearest point of another object...
Hello, I may be missing something in all the codes I have gathered over the years but can anyone point me towards a tutorial or code that has one object find the nearest point of another object and move towards it.
I don't want the player to home in at 0,0,0 location of wall. I just want it to located its nearest point to the Wall and move towards it.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612180110im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to move an object towards origin over time? 0 Answers
How can I check if a ball is moving towards my paddle in an Arkanoid-Like game? 0 Answers
Tracking transform position 1 Answer
How to move an object with a starting and ending speed and time 0 Answers
One of meshes keeps following the camera in scene mode for some reason? 1 Answer