I have been reading many posts, tutorials, documentation, but I really need a little help.
I don’t know if maybe is the logic or I’m not using the right sentences for my logic.
What I’m trying to do is to rotate the empty object until it reaches 60 degrees and when it reaches the angle, stop the rotation, but I have continous rotation or just one rotation.
This is the logic I’m using.
if centro_mouse.positive: for grados in range (60): rotZ= 0.02*(60-grados) centro_motion.dRot=[0, 0, rotZ]
print(rotZ) cont.activate(centro_motion) else: cont.deactivate(centro_motion)
interfaz1.blend (447 KB)