Class MotionTrack

All Implemented Interfaces:
CinematicEvent, Savable, Control, JmeCloneable, Cloneable

@Deprecated public class MotionTrack extends MotionEvent
Deprecated.
use MotionEvent instead
  • Constructor Details

    • MotionTrack

      public MotionTrack()
      Deprecated.
      Create MotionTrack, when using this constructor don't forget to assign spatial and path
    • MotionTrack

      public MotionTrack(Spatial spatial, MotionPath path)
      Deprecated.
      Creates a MotionPath for the given spatial on the given motion path
      Parameters:
      spatial - the Spatial to move (not null)
      path - the path to be taken (alias created)
    • MotionTrack

      public MotionTrack(Spatial spatial, MotionPath path, float initialDuration)
      Deprecated.
      Creates a MotionPath for the given spatial on the given motion path
      Parameters:
      spatial - the Spatial to move (not null)
      path - the path to be taken (alias created)
      initialDuration - the desired duration (in seconds, default=10)
    • MotionTrack

      public MotionTrack(Spatial spatial, MotionPath path, LoopMode loopMode)
      Deprecated.
      Creates a MotionPath for the given spatial on the given motion path
      Parameters:
      spatial - the Spatial to move (not null)
      path - the path to be taken (alias created)
      loopMode - (default=DontLoop)
    • MotionTrack

      public MotionTrack(Spatial spatial, MotionPath path, float initialDuration, LoopMode loopMode)
      Deprecated.
      Creates a MotionPath for the given spatial on the given motion path
      Parameters:
      spatial - the Spatial to move (not null)
      path - the path to be taken (alias created)
      initialDuration - the desired duration (in seconds, default=10)
      loopMode - (default=DontLoop)