SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Lounges / Maya Basics & Newbie Lounge / Expression editor question

Maya Basics & Newbie Lounge Please post in this section ONLY if your question doesn't fit in anywhere else on the forum, or if you're not sure which section it's relevant to. We also have Free streaming trial available.

Join the conversation. Reply to post
 
Thread Tools
21-07-2015, 06:51 AM   #1
DarkRonin
Registered User
 
Join Date: Jul 2015
Posts: 6
[Solved] Expression editor question
Hi Guys,

Is there a way to set certain attributes given a frame number in the expression editor. Something like this (quasi-code)

Code:
if (frame_number == 20)
{
       pCube.rotateY=45;
}
Thanks in advance

Last edited by DarkRonin; 21-07-2015 at 07:08 AM.
  Reply with quote
21-07-2015, 07:08 AM   #2
DarkRonin
Registered User
 
Join Date: Jul 2015
Posts: 6
Looks like time is what I was after
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Expression on Bend Deformer Problem Calvin Programming 0 22-08-2016 08:24 AM
simple expression question lxhtin Dynamics & Special Effects 0 04-11-2012 08:52 PM
:help: Problem with varying refractive index using Expression Editor EonStrife Lighting & Rendering 4 15-12-2011 04:12 AM
rotation expression troubles bendingiscool Programming 1 26-10-2007 10:18 PM
Need help troubleshooting expression. NitroLiq Programming 4 08-01-2003 01:32 PM