The problem is that the simulation of Professor the move of rotational is constant, mine is the state variable that specify the angular position.
I tried to add this variables, pi, period,.... I changed the intial values, the programm gives good the initial value, but the object disppier one second after starting the simulation.
I'm a little bit pissed with my program, I do not know what else I can change. :-\