Game Development Reference
In-Depth Information
Debug MotionPath with red waypoints
9. Optionally, we can visualize the path by calling the following method:
path.enableDebugShape(assetManager, rootNode);
10. Now, all we need to do is call
event.play()
to start the event!