Find closest point in direction, by offset #250
Replies: 2 comments 2 replies
-
A naive solution could be to check the agent's position each frame ( |
Beta Was this translation helpful? Give feedback.
-
Thanks for your input @isaac-mason Yeah, sometimes the easiest solutions are the best one. I think the issues is a bit more nuanced, because you want it to stop in the direction of the last point of movement, which has some edgecases. I did solve this but projecting outwards from the target and move the agent their instead. I am thinking about using crowds and obstacles instead, that might do this out of the box more or less. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, just wanted to ask for input, in case anyone has a good idea.
My usecase is for an entity to travel a path, where the last point is an interactable object, at which the entity should stop at a certain distance from that point, and face it.
I do have some solutions in mind, but wanted to see if there might be a more elegant solution.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions