Help - Search - Members - Calendar
Full Version: regular expressions
Hash, Inc. Forums > Technical Direction and Development (Learning Animation:Master) > A:M Tutorials and Demonstrations > Animation > Reusable Motion
nf1nk
I am returning to my aricraft project that I abandoned some time ago. and I would like to make the gauges on the control panel function. I know I should be able to do this with regular expressions, but I can't find any syntax examples I can modify to make it work. I have started with the simplest gauge the clock, but feel once I get the clock working I should be able to build an altimeter and artificial horizon. I just want these things to work without intervention once I put them into the project and start the expressions. am I asking too much or am I heading in the wrong direction?

an example of what I am trying
secondhand.Y.rotate=(GetTime(sec)*-6)
secondhand.Y.rotate=(secondhand.Y.rotate)/60
hourhand.Y.rotate=(secondhand.Y.rotate)/12

no matter what I put in I get a syntax error.
I am using version 11
(I have the 2006 package on order so I will be upgrading shortly)

thanks in advance for any help on this
nf1nk
Ok I figured out how to get it to work it wasn't so bad.
its hard to tell in only 18 secons but the minute hand does move, and in the 10 minute project you can see that the hour hand moves
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.