agentex Posted January 1, 2007 Share Posted January 1, 2007 Hey guys, happy new year to everyone. I'm working on a quick DOPS sim, and my uniform field, it would be very nice to turn it off. Is there some sort of impact data I could group the points by? Just wondering, Christian Quote Link to comment Share on other sites More sharing options...
craig Posted January 2, 2007 Share Posted January 2, 2007 Could you elaborate a bit on what you are trying to do? It's possible to turn off the uniform force, of course. What's the relationship with the impact data? Quote Link to comment Share on other sites More sharing options...
agentex Posted January 2, 2007 Author Share Posted January 2, 2007 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 Quote Link to comment Share on other sites More sharing options...
agentex Posted January 3, 2007 Author Share Posted January 3, 2007 http://www.sidefx.com/index.php?option=com...t=dopnumrecords Derrr, thanks in advance. Did I mention that was new years eve?? 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!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.