EaseFunction in LoopEntityModifier
- by Siddharth
For my game, I need EaseFunction in LoopEntityModifier. In my game, I am rotating ball over certain object. For giving effect I want to use EaseFunction.
I want to rotate ball around an object take around 4 to 5 round that was already rotating but I want add some effect so that it looks good. For this I have to use EaseFunction which suits my needs. But if I put EaseFunction in rotation modifier then each round rotation modifier apply an effect of EaseFunction that I want only one time occur either starting or ending time.
So if I can able to provide EaseFunction in LoopEntityModifier then it will good for me or something similar also work for me.
At present my code is something similar like this.
new LoopEntityModifier(new RotationModifier(...));
I hope someone has some idea on this.