I can't be the first person that is after this behavior, but I did try searching and didn't find anything easily.
I would like to allow the user to first draw a path that a body will attempt to follow, then start the simulation. I would like the body to be affected by other bodies, but all the while attempting to get back to, or stay on, the path. I would like this behavior to act as you might expect for a character in a game, in other words I don't want it to snap back to the path immediately, or move faster than some defined max speed.
Any ideas on how to achieve this would be much appreciated, thanks! 🙂
I would like to allow the user to first draw a path that a body will attempt to follow, then start the simulation. I would like the body to be affected by other bodies, but all the while attempting to get back to, or stay on, the path. I would like this behavior to act as you might expect for a character in a game, in other words I don't want it to snap back to the path immediately, or move faster than some defined max speed.
Any ideas on how to achieve this would be much appreciated, thanks! 🙂