Jump to content

[Question]VEX_timecounter


zzangxx

Recommended Posts

Hello~ everybody~ I got some trouble making the time_counter.

I want to make the vex like this :

count = 0;

for(int i = startframe; i < endframe; frame++)

{

if( $color_R == 1 )

count++;

}

Please help me~.

Edited by zzangxx
Link to comment
Share on other sites

Hello~ everybody~ I got some trouble making the time_counter.

I want to make the vex like this :

count = 0;

for(int i = startframe; i < endframe; frame++)

{

if( $color_R == 1 )

count++;

}

Please help me~.

vex can only operate on the current point at the current time. to make your vex time dependent, put it in something time dependent (like a pop network or a sop solver).

Link to comment
Share on other sites

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...