katisss
01-08-2009, 10:54 PM
so the idea is to animate a camera with a hotkey pressed and stop the animation when its released.
Its pretty easy to get the camera going but hard to stop the loop on key release. Maya will finish the "on press" command before ever doing the "on release" which is supoosed to stop the animation. I guess i will need threads. Anyone has experience doing something like that or hints?
EDIT: Found a good solution using scriptjobs
Its pretty easy to get the camera going but hard to stop the loop on key release. Maya will finish the "on press" command before ever doing the "on release" which is supoosed to stop the animation. I guess i will need threads. Anyone has experience doing something like that or hints?
EDIT: Found a good solution using scriptjobs
