Jump to content

Animate Active Value on RBD based on Primitive Number


Fyre

Recommended Posts

I'm looking to animate the active value of an RBD sim and I'm a little stuck.

I've got this so far:

-create an attribute called active

-animate value from 0 to the number of primitives there are

 

what next? How do i have the active value be assigned to the primitive number based on this attribute.

 

Cheers

 

EDIT: So I've sorted my new attribute, however im having trouble getting the attribute on an active value dop. I'm using this expression atm:

prim("../../SIM_geo/OUT_ACTIVE", $OBJ, "active", 0)

 

unfortunately it isn't working.

Edited by Fyre
Link to comment
Share on other sites

not really an answer, but maybe could be of help:

attached you´ll find an image of a quick test (frame-based activation), which workd fine.

maybe try changing your local variables accordingly. no warranties of course.

fuat

 

 

 

post-13474-0-30790000-1443803384_thumb.j

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