Hello,
I’m adding animation movements to my drag and drop functionality. And I was referencing this tutorial which recommends using Event Tick + Gates to achieve this. Something I found that was odd here (that I also saw in another tutorial) is that they are moving the Widget using Interpolate towards position instead of moving the parent actor that holds the widget. In my case, I have a parent actor that holds a variety of things including a widget and a collision box. So in my case, I want to move the parent actor right?
Here is a screenshot of what the tutorial is doing.
But I noticed there are some subtle differences when trying to implement this tutorial’s logic for an actor instead of a widget. So I’m trying to sanity check that I’m doing the right thing here.
For the widget movement logic, they’re using “Set Render Transform” and “Vector 2d interp to” with a “Widget transform” variable. That won’t work for me, right? Because I’m not moving a widget I’m moving an actor. So what should I use instead?
Currently, in my project I do not animate movement at all. And when I want to set the position of my actor I just call “Set Actor Transform”. So what do you recommend using for interpolation for actors?
Here is a screenshot of how i set the position of my actor, which uses Transforms (not Widget transforms)
Bonus question, is there a reason the tutorial is only moving the widget instead of a parent actor? Maybe a performance reason?
Thank you!