How to Make an Actor Get from A to a Customized Location B at a Certain Speed?
I understand that there are Timelines to smooth things out but I can`t seem to find a way to input a customized Length of time. If I can customize the Length of Timeline as an input variable, how to do it? Or perhaps there is a simpler solution to achieve making an actor go from a certain original location to a user customized location at a certain speed? Any help is appreciated. :)
I'm not sure what struct pin you're referring to.
You should be able to get / set the values from the component reference, see below.
I don't think you can set the play rate inside the timeline node, but you can certainly initialise the length.
If, when you say "struct pin" you're trying to split the "Direction" pin from the timeline node, it's an enum and you can drag off and type "Switch on [EnumName]" to get the information from it, but it's only Forwards and Backwards, not what you're looking for here.
Hey, when you add a timeline node to your blueprint, Timeline_0 will appear under your variables section, under "Components"
You can drag this into your blueprint and set its length / play rate etc.
You can also use "Interp to" as a way to move an object continuously toward a goal - but you'll need something like an event tick, or timer to keep executing the SetLocation node. Looping timelines I find, stutter at each new reset.
Hope this helps!
answered Nov 23 '18 at 10:49 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here