Hello,
I'm using MaxScript for a uni module and my idea to create a scene generator. I'm keeping it simple for now and sticking with just a hilly scene.
What I would like to know is how to create a road using maxscript. Ideally, I would like to be able to select a spline, then create a box at the start and have it extrude along the spline.
Thanks
Replies
Or search in max reference compound loft.
$.EditablePoly.SetSelection #Face #{2}
macros.run "Editable Polygon Object" "EPoly_Extrude_Along_Spline"
$.extrudeAlongSplineNode = $Line001
$.EditablePoly.ExtrudeAlongSpline ()
Can you make it to get the face that forms the road section and the line that user wants and make the script ?
And yes you are right it uses the extrude along spline.
the coord of the first vertex(knot) in the line and move your box to that point ?
Last thing to do now is to make my road mold to the plane...