mor.animation.shakingAnimations.doingNothing

doingNothing(objToAnimate, dt, factor, **param)[source]

Default animation function

The animation consist on increasing a value of a Sofa object until it reach its maximum

To use it the params parameters of ObjToAnimate which is a dictionnary will need 4 keys:

Keys:

argument

type

definition

dataToWorkOn

str

Name of the Sofa datafield we will work on by default it will be set to value

incrPeriod

float

Period between each increment

incr

float

Value of each increment

rangeOfAction

float

Until which value the data will increase

Returns:

None