I'm trying to find a way to procedurally lay down a path, road and/or fence as a function of the game. Think Simcity roads/zoning or Tropico roads/paths. The same logic I would use for putting down a fence line like in AoE or command and conquer. Essentially I want the player to select a mesh/actor, click in a space, drag the selection to an end point and release the button to lay the mesh over the entire drawn path/area. I'm hoping to accomplish this is blueprints if possible, I'm not good enough with C++ yet to accomplish it otherwise. I know it can be done using construction script but that is for level building pre-play. Any help and advice would be much appreciated!
asked Jun 05 '15 at 10:42 AM in Blueprint Scripting
I think what you looking for is spline component:
It not only let you layout mesh on path but also you got path data you can use in code.
answered Jun 05 '15 at 03:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here