Jump to content

Some Sort Of Impact Data


agentex

Recommended Posts

Could you elaborate a bit on what you are trying to do?

Hi Craig,

I'm doing a raining credit card effect, when the cards collide with a house it no longer looks realistic for them to be affected by the uniform field that gives them their initial movement. It's a very basic setup, I'd like for them to be affected by a second uniform field after the collision to give them normal gravity.

I'm used to POPs, so I was looking for a Num Hit style attribute to group the objects by.

Thanks,

Christian

Link to comment
Share on other sites

http://www.sidefx.com/index.php?option=com...t=dopnumrecords

Derrr, thanks in advance. Did I mention that was new years eve?? :P

Well great results:

If you use craig's example and add the modifydata1 operator he made, you can turn on/off anything in the network with this in the activation string, which is just his script reiterated.

{

if ( dophasfield(".", $OBJID, "FoundImpact", "Options", 0, "hitAtFrame") == 1 ) {

return 0;

} else if ( dophasfield(".", $OBJID, "FoundImpact", "Options", 0, "hitAtFrame") == 0 ) {

return 1;

}

return 0;

}

Thanks alot!!

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