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"

zip line mechanics

hello i try to make zipline mechanics like this http://www.youtube.com/watch?v=s7INZ6pKhjk , but I do not understand how it works. i try to do it with triggerbox, when my charater stay near spline, i press use button, it disable player control and transfer my character to the end of spline. but i cant realize transfer of my character. does exist some node, who can make tmoveing character beside spline? or something whong with my logic? thanks for help

Product Version: UE 4.8
Tags:
more ▼

asked Sep 21 '15 at 09:02 AM in Blueprint Scripting

avatar image

Zalax
5 2 4 6

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

1 answer: sort voted first

if you get the distance along spline of the end spline point, you can use a timeline to lerp between 0 and that distance, and plug the result into a GetLocationAtDistanceAlongSpline node, to find out where you should SetLocation of your character.

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Spline/GetDistanceAlongSplineatSplinePo-/index.html

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Spline/GetLocationatDistanceAlongSpline/index.html

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Spline/index.html

more ▼

answered Sep 21 '15 at 03:30 PM

avatar image

ScottSpadea
9.6k 319 205 449

avatar image Zalax Sep 21 '15 at 04:13 PM

ok, i will try, thx! Spline - this is a special structure or something special object? i thought spline is just a static mesh, witch looks like a pipe p.s. whot does mean "lerp" ?))

avatar image ScottSpadea Sep 21 '15 at 07:56 PM

a spline is a type of component. just like static mesh components, or light components, you also have spline components, which you can add to actors.

lerp is a common programmer abbreviation for linear interpolation, which means blending from one number to another. Vlerp would be blending from one vector to another, Tlerp would be blending from one transform to another, Rlerp would be for blending between rotations, etc...

this might help: https://www.youtube.com/watch?v=MqPeFIEJUmg

avatar image Zalax Sep 22 '15 at 09:13 AM

Thank you very much!! i will learn it and try to make zipline )) this is very useful information

avatar image Zalax Oct 03 '15 at 01:43 PM

hello again! i realize it with "move component to" https://yadi.sk/i/RGF4SH2tjVEhy but character move to end point of spline. how i can realize that character move point-to-point 0-1-2-3-etc ?

(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