mor.animation
Set of predefined function to shake our model during the reduction
Each function has to have 3 mandatory arguments:
argument |
type |
definition |
---|---|---|
objToAnimate |
|
the obj containing all the information/arguments about the animation |
dt |
seconde (in float) |
Time step of the Sofa scene |
factor |
float |
Argument given by the Animation class from STLIB. It indicate where we are in the animation sequence:
It is calculated as follow:
|
the animation implemented in mor.animation
will be added
to the templated scene thanks to the splib.animation.animate
Implemented animation functions |