Jump to content

chops query


glyph

Recommended Posts

I've got a pop net feeding specific collision events into CHOPS (in a low particle count, rigid body type thing)

I'm using the numhit attribute which increases as I'd expect but I can't seem to manipulate this value

Ideally I want it to change to 1 when a collision takes place, pause for a few frames then reset to 0 and feed that into a math chop to get the range I want

I've tried trigger/count/logic OPs, coupled with Shift to act as a value reset, but nothing works

Any tips welcome!

Link to comment
Share on other sites

me again - I don't think I've been very clear what is happening

in the chop viewpane I get a line indicating "hitid" which is flat form start to finish of the frame range

when the hitid changes during playback (from the POP event) the entire line jumps to a new position - not just at the current frame

I've been trying to get a method to compare the value at frame "$F-1" to value at "$F" (or store the last value and compare that)

anything to give me a spike at my curent frame not a total jump!

the spike seems to occur at frame 1 even when I'm at frame 400 (for instance)

there's gotta be some method _ I tried a global variable that gets reset by an expression chop but that didnt seem to do it either (though maybe my structuring was wrong)

somebody got a suggestion?

Link to comment
Share on other sites

thankyou thankyou Jason

its now super funky - you wont believe the time I've spent messing around with this - I'd never have thought of using Record

[because the changes were 'stepping', the end result was the triggered objects were not moving over time, so particles ignored movement between pos a and pos b, when they were meant to be dynamically deflected - now it works]

mark

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