Hi! After messing around with some intervals, I tried to run a LerpFunc, thats going to call a function as long as needed till the target value is reached - however, I got the response that the lerp is started:
But I don’t get a single sign of life of the function that the LerpFunc should call…
...snipp... def encodeRequest(self,pressedKey=None): print 'got key pressed' if pressedKey=='a': print 'a pressed!' i = LerpFunc(self.mAX, fromData = self.cam, toData = self.cam+5, duration = 0.5, blendType = 'easeOut', extraArgs = , name = None) print i if pressedKey=='s': print 's pressed' i = LerpFunc(self.mAX, fromData = self.cam, toData = self.cam-5, duration = .5, blendType = 'easeOut', extraArgs = , name = None) print i def mAX(self,value): print 'Setting Pos to: ', value cameraLiking[self.cam+value ,self.cam, self.cam, self.cam, self.cam, self.cam] self.encode(cameraLiking) ...snipp...
I am not that bright, but I am wondering somewhat why the mAX function didn’t even get called ONCE?
(please ignore the weird cam[x]-values. They are simple variables/constants - zero them if you feel better then )