- Home /
Question by
NinjaRubberBand · Jan 03, 2014 at 02:25 PM ·
movementpathfindingline
Patfinding on lines
Im making a game where i need my moving object to follow commands. But it can't move freely, it can only move on "lines". For example a train can only move on rails. Here is a picture that maybe can explain it better.
So ignore the red lines for a second. The black platform is where i have the character i freely can move around. Suddenly these red lines appear. Now i can only go where the red lines are, and only turn when another line crosses.
Hope you understand what im saying, and now the answer to this.
rails.png
(4.3 kB)
Comment
Your answer
Follow this Question
Related Questions
Moving only if straight path dijkstra 1 Answer
Help with RTS style controlls. 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
A* Rigidbody. Aron Granberg 1 Answer
AI Movement Inside Volume 1 Answer