Implemented setSpeed for animationTrack as it needs special treatment

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9258 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent 1945a0c1c0
commit 7f6ce84ffd
  1. 10
      engine/src/core/com/jme3/cinematic/events/AnimationTrack.java

@ -149,6 +149,16 @@ public class AnimationTrack extends AbstractCinematicEvent {
}
}
@Override
public void setSpeed(float speed) {
super.setSpeed(speed);
if(channel!=null){
channel.setSpeed(speed);
}
}
@Override
public void onUpdate(float tpf) {
}

Loading…
Cancel
Save