Question by
YusufToptan · Feb 02, 2021 at 10:25 AM ·
pathfindingpathsplinepathfollowingtrack
How to make an object follow a path when necessary but move forward when holding mouse button?
I need the object to follow a path by itself but when player is holding down the mouse button, object should move directly forward independently from the path. When the player releases the mouse button, the object should create a new path for the rest of the road or edit the current path. How to achieve this kind of behavior? I'd appreciate any idea/ help.
Comment
Your answer
Follow this Question
Related Questions
How can I setup a AI Bot to Pathfind around my small map? 0 Answers
Doing an Update Function only once 1 Answer
How could I find out if an objects vector3 hits between 2 points without raycasting in a 3D game? 1 Answer
How to create a random generated racing game track with walls on the side? 0 Answers