Skip to content

wizzardo/jme-transition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jme-transition

Small library for smooth transitions in jME

// add rotation transition
spatial.addControl(new TransitionControl(SpatialChanges.rotation(spatial), 0.35f, SpatialInterpolations.rotateTo(spatial, to), EasingFunction.EASE_IN_OUT_BACK));

// add translation transition
spatial.addControl(new TransitionControl(SpatialChanges.translation(spatial), 0.1f, SpatialInterpolations.translateTo(spatial, to), EasingFunction.EASE_OUT));

// TransitionControl will remove itself from spatial when transition is finished

example

About

Small library for smooth transitions in jME

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages