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. 

Rotation on Spline between two objects

Hi Everybody,

Awesome community, have already learned a lot from earlier posts and keep being amazed by what you guys can come up with. Today it's time for me to post my first question as I am stuck with this issue for a couple of days now. I have tried the forums and Youtube already but wasn't able to find a similar issue.

Earlier I had followed this awesome tutorial series and used it for a fence which is projected along a spline. This time I am trying to build a Queue line system like they have in the Disney parks. I have a pole projected on my spline every 2 meters and an additional rope mesh that needs to hang in between two poles. The only thing I need to fix is to have my ropes rotate properly to hang exactly in between the two poles.

Two poles lining up perfectly: alt text

Two poles on the spline, ropes don't align as they miss the vector information (my guess?): alt text

This is my BluePrint: alt text alt text The "Set Material" in the Ropes section is the final node in the chain.

I am guessing I need the vector between the two poles to get the correct rotation. Has somebody an idea about how to get that value? It's probably a simple math question but I somehow can't get to the actual answer.

Last Minute Edit: I remembered this bit from the earlier mentioned tutorials where we calculate vectors for the start and end tangents to use on a SplineMesh. Is this something I can use for this as well? It could be very simple but a language-terminology might be blocking me from seeing the obvious :') alt text

Looking forward to hear suggestions from you guys! Many thanks in advance.

Best Regards, Thomas

Product Version: Not Selected
bp001.png (218.1 kB)
bp002.png (197.3 kB)
bp003.png (133.2 kB)
more ▼

asked Apr 07 '15 at 06:21 PM in Blueprint Scripting

avatar image

28 7 8 9

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

1 answer: sort voted first

Managed to fix the rotation using the "Look At" node, obviously I was thinking too complex again!

more ▼

answered Apr 21 '15 at 08:28 PM

avatar image

28 7 8 9

(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