Rotation on Spline between two objects
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:
Two poles on the spline, ropes don't align as they miss the vector information (my guess?):
This is my BluePrint: 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 :')
Looking forward to hear suggestions from you guys! Many thanks in advance.
Best Regards, Thomas
Managed to fix the rotation using the "Look At" node, obviously I was thinking too complex again!
answered Apr 21 '15 at 08:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here