x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Path making

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!

Product Version: UE 4.7
Tags:
more ▼

asked Jun 05 '15 at 10:42 AM in Blueprint Scripting

avatar image

jtsmith
1.4k 70 29 93

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I think what you looking for is spline component:

https://docs.unrealengine.com/latest/INT/Resources/ContentExamples/Blueprint_Splines/index.html

It not only let you layout mesh on path but also you got path data you can use in code.

more ▼

answered Jun 05 '15 at 03:51 PM

avatar image

Shadowriver
37.8k 937 172 1123

avatar image jtsmith Jun 08 '15 at 01:15 AM

I was thinking splines but I can't seem to find a way to make them procedurally at runtime. Most examples are either using them during level construction and/or for animation paths. Do you have any other suggestions or resources?

Thx

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question