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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Add a spline point between two other spline points?

How to achieve that? Here's some pro visualization:

alt text

'Add Spline Point' always adds a new point at the end of spline, without possibility to specify spline point index.

Product Version: UE 4.10
Tags:
bez tytułu.jpg (14.5 kB)
more ▼

asked Mar 11 '16 at 12:59 AM in Blueprint Scripting

avatar image

Slavq
2k 156 153 206

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

2 answers: sort voted first

There is a roundabout solution for this: First, you get all the spline points data that will be after the newly inserted spline point(in this case, spline point #3), store those data into an array then delete those spline point.After that, add your new spline point(spline point #2) plus all the spline point you stored.

more ▼

answered Mar 14 '16 at 03:57 PM

avatar image

CKong
874 27 18 48

avatar image Slavq Mar 14 '16 at 04:02 PM

Thanks, I've just figured out a very similar workaround: Store all points in temp array, then delete all spline points, then in ForEach loop of the temp array add spline points. This way we can specify at which index we want to create a new point - inside this loop check loop's index, and if it matches the desired one, create additional spline point with desired location.

  • ^^

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

Why don't you just use the Add Spline Point To Index function ?

more ▼

answered Jun 11 '16 at 11:06 PM

avatar image

Plorax
11 1 3

avatar image Slavq Jun 12 '16 at 07:21 PM

Hm maybe it's some new node? Probably I didn't noticed it before, but I'll try it when I get back to this project. +1 :)

(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