Testing moving targets
Now that we have updated our Blueprint, we can test to ensure that the CylinderTarget object moves as expected. First, we have to place the CylinderTarget object in a position that allows it to move along the y axis without bumping into other objects. The coordinates I used were 300 on the x axis, 500 on the y axis, and 220 on the z axis.
Note that these values only work relative to the default layout of the First Person template map. If you have made adjustments to your own Level, then you can adjust either the speed or the placement of the target in your Level, and test until you find a good patrol spot. Click on Play. If the Blueprint is functioning correctly, then you will see the Cylinder move back and forth between ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access