What is the best way to move an object from point A to B?

You can use the following four nodes to move actors to a location or actor.

If you want to move the actor directly in a straight line to certain location, use the last node Set Actor Location and make sure to check Sweep which will do collision checks and will prevent the actor from overlapping with other collidable objects.

The first three use pathfinding and may result in the actor not following a straight line path.

To control the speed you need to multiply the velocity with the Delta and use that to drive location updates. You could also use the Lerp node in conjunction with a Curve to have non-linear velocity - like ease-in ease-out etc …

4 Likes