com.jme3.cinematic
Interface MotionPathListener
public interface MotionPathListener
Trigger the events appening on an motion path
Method Summary |
void |
onWayPointReach(MotionTrack motionControl,
int wayPointIndex)
Triggers every time the target reach a waypoint on the path |
onWayPointReach
void onWayPointReach(MotionTrack motionControl,
int wayPointIndex)
- Triggers every time the target reach a waypoint on the path
- Parameters:
motionControl
- the MotionTrack objects that reached the waypointwayPointIndex
- the index of the way point reached