Answer the question
In order to leave comments, you need to log in
How to make a directed movement of an object bypassing obstacles?
I have a point where the object should move from its starting point, how to make it so that if there is an obstacle on its way, it bypasses it?
Answer the question
In order to leave comments, you need to log in
one of the easiest ways is to use the unity's built-in NavMesh.
google lessons. I can’t explain it in a nutshell))
maybe the new version of the unit has changed a bit, but you can see the general idea here
https://habr.com/ru/post/414453/
Another option is to do self-written, check the obstacles in front of you with a beam and correct the movement.
there are also assets / plugins for sure) but they also look, check))
a miracle of a tick, which is simply on - no)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question