- Home /
Create waypoints on a spline in real time?
Hi, I'm hoping someone can point me in the right direction for this as I've gotten lost in the forum.
What I'd like to do is have a snakes body move along a dynamically created spline. What I was thinking of doing was creating a new point at the location of the head every 1/2 second or so, insert it into the first position in a list of the waypoints & then use it to the determine the spline that all the body segments would move along. As the last body segment crosses the 2nd last waypoint I'd destroy the last waypoint in the list just to keep it tidy.
Would this be a reasonable solution? FYI, it has been suggested I use a cubic spline for the movement.
Hello. It's been a long time, but did you manage to get solution for this?
Your answer
Follow this Question
Related Questions
Help needed: repairing the Spline Controller Script 1 Answer
Mesh from Vertices (Polygon from Spline) 3 Answers
Help resetting a spline for repeat use 0 Answers
How to create a circular motion for an object moving in curved path? 1 Answer
Spline Editor: Maintain object selection and object attachments 0 Answers