diff --git a/src/java/com/threerings/jme/camera/CameraHandler.java b/src/java/com/threerings/jme/camera/CameraHandler.java index 8da7a9da7..210f8fcdc 100644 --- a/src/java/com/threerings/jme/camera/CameraHandler.java +++ b/src/java/com/threerings/jme/camera/CameraHandler.java @@ -157,6 +157,16 @@ public class CameraHandler return (_campath != null); } + /** + * Skips immediately to the end of the current camera path. + */ + public void skipPath () + { + // fake an update far enough into the future to trick the camera path + // into thinking it's done + update(100); + } + /** * This is called by the {@link JmeApp} on every frame to allow the handler * to update the camera as necessary.