sprockets TV Commercial by Matt Campbell Greeting of Christmas Past by Gerry Mooney and Holmes Bryant! Learn to keyframe animate chains of bones. Gerald's 2024 Advent Calendar! The Snowman is coming! Realistic head model by Dan Skelton Vintage character and mo-cap animation by Joe Williamsen
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

Recommended Posts

  • Hash Fellow
Posted

If i want to have an object decrement its Y position every frame I should be able to do a standard value reassignment like Y=Y-1, shouldn't I?

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Hash Fellow
Posted

I guess the problem is that expressions are continuously evaluated and not once per frame?

Posted

Why not just key key the -1 on the first frame, then set the post interpolation to accumulate.

 

If you want to use an expression, use the "get time" function.

Posted

I don't have A:M here..... but i guess that you must to use the Y-GetTime()...

Y-1 ( frame 1)

Y-2 ( frame 2)

Y-3 ( frame 3)

.

.

.

Y-n ( frame n)

  • Hash Fellow
Posted

Yes, I will have to GetTime()

 

Why not just key key the -1 on the first frame, then set the post interpolation to accumulate.

 

This is only the first step in a more involved problem with expressions. Eventually I want to do crowd simulation but the first step is getting something predictable to happen each frame.

Posted

GetTime()*-24

 

This expression will translate -1cm every frame (24fps). If the animation is 30 fps, use -30 as the multipler. If you want it to move more than 1cm, add a second multipler.

Posted
GetTime()*-24

 

This expression will translate -1cm every frame (24fps). If the animation is 30 fps, use -30 as the multipler. If you want it to move more than 1cm, add a second multipler.

perfect ....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...