Hi guys,
Does anyone know, how can i play the timetime in realtime in maya and move the rig and let it write keyframes?
is this even possible?
Thanks,
Hoss
Hi guys,
Does anyone know, how can i play the timetime in realtime in maya and move the rig and let it write keyframes?
is this even possible?
Thanks,
Hoss
I’ve seen people do this and I played a little with trying to figure it out, but was unsuccessful, but I’m looking more into the API and maya events so perhaps it will be made known in the future. (where the past has occurred)
First, run this code. I don’t know if just using auto key would also work. Also I use PyMEL, but the cmds is the same, as far as I know.
import pymel.core as pm
pm.recordAttr( at=[‘translateX’, ‘translateZ’] )
Then, go Solvers -> Interactive Playback
When you move the object around, it will record and ignore the attributes you didn’t set in recordAttr. Save your work often, because it tends to crash a lot on me. Especially if I undo after recording.
Edit: Found out that you can also use cmds or pm.play(rec=True) to record as well. (http://forums.cgsociety.org/showthread.php?t=196700) but again, trying this is causing crashing, so maybe you have to turn off recording when you are done, or just save often. I wouldn’t use this for anything complex.
yeah, talk about unstable, I tried it once and then tried to do it again and BOOM there goes Maya. Good info to know though thanks Chris!
Yeah no kidding Matt. I noticed there are a bunch of output connections to record nodes. If you delete those, you can hit record a second time. But undoing or File -> New = instant crash.
Another option might be creating mocap devices. The help says mice and keyboards can not be devices, but maybe you can set one up using Virtual Devices. The command to look into would be defineVirtualDevice. I’ve never done anything at all with that stuff.
Yeah I was playing with the input devices but you have to specify which port to communicate with and all the extra fun stuff I haven’t had time to delve into yet. One day I will hook one of those brain wave reading devices and train maya but alas that day is not today.
guys what are you talking about autodesk is awesum maaya is awsum and there is no way there is any bug