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 create a spline in realtime by adding spline points ?

[UE4 4.10.4] Hello everyone ! I'm a french video game student and i have some issues with how to set up start and end point of a spline by adding more points in realtime. I hope you will be able to help me understand the logic behind my problems.

In a 3D platformer you control a character who can spawn clouds and use them. I would like to make a rain cloud who can draw water on the map by using a spline in realtime. When you use the ability, the third person character is unposses. You now posses the cloud. You can move the cloud, the cloud is a pawn. alt text A line trace check the impact point to spawn a spline actor while the rain cloud is active (a spline component and a static mesh or spline mesh) After the spline actor is spawned i want a new spline point be added every X tick. In order to create a water path. alt text It's the same spline as in this excellent tutorial video [url]https://www.youtube.com/watch?v=Y9yPg8oDS9E&list=PLHadbgEqCTxDgj-RwPQGkaUypb05NJYN6∈dex=4[/url]

[PROBLEM 1 ] the spline points that i add dont seems to be add or recognize by the start point of the primary spline actor.

[PROBLEM 2 ] I miss some logic concerning where the add spline point node must be placed. At best the spline actor is spawned multiple times with no links between them.

Spawned spline actor Event graph Blueprint alt text

Spawned spline actor Construction Script alt text

Rain Cloud Pawn Event Graph alt text

Every components are set as movable. The spline works perfectly in editor. (rotation, tangent calcul, spacing, new points adaptation) But not in realtime ... T_T

I'll be happy to discuss about possibilities of adding new spline points of a spline actor in realtime. Thank you so much !

Product Version: UE 4.10
Tags:
more ▼

asked May 08 '16 at 04:24 PM in Blueprint Scripting

avatar image

Xotnilrem
1 1 1 1

avatar image alwynd Mar 26 '19 at 06:55 PM

Wow, not a single comment, nor answer. My exact question. If I do find a solution, I will come back here. albeit 3 years later.

avatar image alwynd Mar 26 '19 at 07:14 PM

Damn , my solution was in c++. I am using AddSplinePoint. Not very helpful to you I'm afraid. Sorry.

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

0 answers: sort voted first
Be the first one to answer this question
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