What would be the best way for actor move to locations. I have array of location and it needs to move smoothly trough them. Like sliding.
All i get is stuttering movement

What would be the best way for actor move to locations. I have array of location and it needs to move smoothly trough them. Like sliding.
If it’s not a character, placing this node after Event Tick would do
You can use a vector type variable to determine the direction (not location) of your actor and update it on your desired conditions, and plug it into the New Transform Location pin. You can determine the direction by either assigning the value manually or by subtracting the target location from the actor’s location and normalizing the result (by using the Normalize node), and you can also make it faster by multiplying the normalized vector before setting our variable to it.
The stuttering movement is from the delay, you see no movement in between because of the extremely low Interp Speed
.
The delay is dodgy and will cause you problems, replace it with a distance to target check.
Something along the lines of:
Hey @Iscreamdeye!
You can also use a timeline for this. Timeline with a float +float going to LERP alpha+ start location and end location vectors in A and B of the LERP followed by a “Set Actor Location” node.
Hope that helps!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.