- Home /
object follow a spline path
Is is possible to get an object to follow a spline imported from 3D Max?
How does the path appear in Unity - as a series of points or something?
Hmmm theres a question. Just tried importing a spline. The object appears in the hierarchy but the geometry doesnt show in the scene.
Ah I'm no expert on importing that stuff so I probably can't help - was hoping it was there as a series of transforms :)
Haven't tested this, but will try to animate a dummy object along the spline in 3D max, import those into Unity, then attach my Unity object to the dummy.
Answer by Berenger · Jun 22, 2012 at 09:38 PM
I'm pretty sure all the helpers and 2D stuff are just a single transform once imported. You should create points in 3DS and place them at each vertices of the spline (use snap on vertex) the export those points. Then, implement a script to follow a waypoint path in Unity (go from A to B, if close enough from B, A becomes B and B becomes C).