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?
use the playback command with record options on key down and stop playback on key up. Then hook up a recorder. Thats it, very basic maya motion capture.
It is not supposed to playback just move the camera.I managed with scriptjobs. Also got pointed to check out the level tools or a similar tool.
Urgh, no dont use scriptjiobs look into the api modules and make a context instead.
i use a dragger context with an idle scriptjob.This is the same as the flycam in the level tools.Now i want to use the right mouse button in that context for something elsethan the context menu? Any way to disable it?
QUOTE(katisss @ 01/18/09, 02:04 AM) [snapback]299107[/snapback]than the context menu? Any way to disable it?
Not really, without killing all other functionality, but you can fill it with other stuff as you have full control of the content.
hm, even more annoying: pressing the mouse blocks all hotkey events.Not quite what i expected. Any way around it or to know the position of the non pressed mouse?