Value Operator Not Working with PhysX Bind
#1
Hi,

My first use of the Value Operator so maybe I have missed something. I want to change the Break Force and Break Torque values of the PhysX Bind operator after a certain timeframe. I have tried using the Filter rollout on the Value operator for this, but that did not work, and now I am using an expression on the Value operator to do this. However, PhysX Bind uses the true values past frame 690 and never switches to the false values of the expression. Can the values on PhysX Bind not be changed like this?

BTW, I tested this same value operator expression logic in another test flow, linking the value operator to the birth amount, and that method works. Also tried just keyframing the values on PhysX Bind, and that did not work either... whatever the values are at the beginning of the simulation is what's used to the end... no reflection of changed values.

thx


Attached Files Thumbnail(s)
   
  Reply
#2
If you have timing-based values coming out of Value operators, you need to ensure the timing or flow of your operators matches. I can see your PhysX Bind operator timings are set to entry, so they won't be able to fulfill your Value operator conditions unless your Birth Flow operator is generating new particles after the desired Value operator time conditions...

If your particles are all born on the same frame, the correct approach would be to use a Modify Bindings operator, with timing set to Continuous, and then pipe your Value operators into there with the time conditions.
  Reply
#3
Thanks for that insight, the timing part I had overlooked. Being that I have 2 PhysX Bind operators with slightly different settings in the Breaking & Proximity rollouts, how would they be targeted with the PhysX Modify operator?

I changed the timing on the PhysX Bind operators to continuous, since it uses a Birth Flow on frame 1 only. No new particles after that ever get created. The values I have in the value operator expression were tested and work, but when implemented unexpected results are seen like the particles will no longer break apart. The problem I am trying to solve here is that the particles from the Birth Flow have already been "dug up", and those are the ones that clump together. If I lower the breaking force values to an amount that makes them break apart, then later in the sim when the bucket starts digging untouched particles, they pop out of the ditch when pushed against. So was trying to change the values after a certain timeframe.


Attached Files Thumbnail(s)
   
  Reply


Forum Jump: