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"

Drawing/animating a spline using Blueprints

Currently i'm trying to create a somewhat flexible hose between two moving parts of a robotarm. For this i want to use 2 arrow components to specify the start and end points and the tangent at which they should start out. (These arrows are parented to the moving parts of the robot arm) Also the "length/strength" of the tangent is determined by the scale of the arrow. (Basically mimicking the "Hose" primitve in 3dsMax)

However when i try to create a system capable of his in Blueprints my spline doesnt get updated properly or fails to curve smoothly. When looking for documentation in the official UE4 docs i found no page explaining how to use the "Spline" component at all (besides one for programming reference).
All the spline content examples don't seem to demonstrate what i try to achieve either.

This is what i want the spline to do.

image

After i set up a proper curve i can just read out the spline the information and transfer it onto a splinemesh

Is there a proper way to achieve this using blueprints?

Product Version: UE 4.12
Tags:
more ▼

asked Jul 21 '16 at 01:53 PM in Blueprint Scripting

avatar image

MissStabby
48 4 11 14

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi MissStabby,

Spline points can be moved during runtime but not 'animated'. They will jump from location to location by essentially teleporting..

I suggest using a skeletal mesh with a physics asset. It would probably be the most performant solution and should give you the exact results you are looking for.

If you would rather use something wholly inside of the editor, you could also try using a Cable component if you like.

Cheers,

TJ

more ▼

answered Aug 04 '16 at 07:55 PM

avatar image

TJ V ♦♦ STAFF
41.2k 1009 181 493

(comments are locked)
10|2000 characters needed characters left
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