Package com.jme3.cinematic
Interface MotionPathListener
public interface MotionPathListener
Trigger the events happening on a motion path
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onWayPointReach
(MotionEvent motionControl, int wayPointIndex) Triggers every time the target reach a waypoint on the path
-
Method Details
-
onWayPointReach
Triggers every time the target reach a waypoint on the path- Parameters:
motionControl
- the MotionEvent objects that reached the waypointwayPointIndex
- the index of the way point reached
-