Help with construction script for Level Design
Hello UE4 community
I created an actor and used the component editor to add a skeletal mesh to it. The animation doesnt require a blueprint so I set it to animation asset in the component editor. I see there are two fields, one selects the animation and there is another that controls rate or speed of the animation in the component editor. Is there a way to expose these fields using construction script so i may use them for level design in the main editor window. I am able to change mesh and toggle visibility via construction script but I could use some help changing animation and speed. If this is possible, any help would be appreciated.
Edit: here are some screenshots of what I am trying to accomplish to better explain myself.
Not sure if you've figured this out yet or not, but in my own graph there is a Timeline node. In that node there is a NewTime plug. I promoted that to a variable and made it editable. I can change the speed of my transform animation by changing it, though the values are rather high to actually see the difference with what I'm doing.
I suppose it depends on what sort of animation your using, but with animation there is always time. Find what controls the timing of the animation and make that editable and you should be set.
answered Jun 15 '14 at 02:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here