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"

How to make object change spline it follows, from 1 spline to another?

Hi guys, So i have this blue cube (train) move following spline 1, then make it branches by placing spline 2 in the middle. Second spline is a copy of the first, and they are the same blueprint.

How do I make the blue cube to change spline it follows (from spline 1 to spline 2) when it hits the box collision blueprint?

I don't know how to make 3 of the bp to communicate with each other. Also is there better way to achieve this?

alt text

thanks a lot

Product Version: UE 4.15
Tags:
capture.png (531.5 kB)
more ▼

asked Mar 17 '17 at 10:13 AM in Blueprint Scripting

avatar image

aobond
1 1 1 2

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

1 answer: sort voted first

You can use FindInputKeyClosestLocation node to determine the time on your first spline where the second spline start is closest to the first spline and save this information inside your trigger. When a train is entered the trigger you have to wait until it reach that saved time and then switch it spline to the second. It would be fine to add some interpolation movement between that points.

alt text

more ▼

answered Mar 20 '17 at 06:59 AM

avatar image

c4tnt
1k 13 8 31

(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