hi,
really nice solution i wouldnt have thought off.
Thanks for sharing.
katrin

  ----- Original Message ----- 
  From: Jakob Welner 
  To: [email protected] 
  Sent: Friday, January 09, 2009 10:48 PM
  Subject: [Maya-Python Club:1443] Re: animate a camera with a hotkey pressed


  I don't know if this is useful but I once made this sticky key script that 
enables framestep on press and playback on holds of a hotkey where release 
stops the playback again.
  This can pretty much be implimented into any procedure where you need sticky 
key. Only problem though is that if you want instant feedback on the press 
procedure, you can't check for a hold prior to that so on a hold, the press 
command will always get executed.. It can be annoying in some cases.

  I don't know if you can use this for anything, as I'm not quite sure what 
your issue is exactly - haven't had time to test it myself - but it's what I 
got on the matter.




  On Thu, Jan 8, 2009 at 9:50 AM, katrin schmid <[email protected]> wrote:


    hi,
    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?
    Regards,
    katrin
    --
    Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger






  -- 
  JAKOB WELNER
     _____________
     Animator | R&D
     jakob.welner.dk

  

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to