1
$\begingroup$

I have an issue where my driver value never updates. I want to drive the "display" % field under particles, but the driver value never changes. These pictures should explain better:

enter image description here

enter image description here

Any idea what's wrong here? Or is there another way to globally change the display % of particles? I'm using 2.77.

$\endgroup$
3
  • 2
    $\begingroup$ Hard to tell exactly what your issue is here. Particle draw_percentage is an integer with values ranging from 0 to 100. In both your example images you are looking at a transform channel, eg x location, which has a negative float value eg -70.91, which will map to 0 as a value for draw_percentage. $\endgroup$
    – batFINGER
    Apr 14 '16 at 7:50
  • $\begingroup$ Hi, yes, the strange thing is that the driver value changes when its mapped to the rotation, but not when mapped to draw percentage. the bit i underlined never changes, no matter where you move the empty, while using the same empty and the value does change on the second one. $\endgroup$ Apr 14 '16 at 13:23
  • $\begingroup$ I'm confused, the first image has the Cube as the driver variable target object. $\endgroup$
    – batFINGER
    Apr 14 '16 at 14:32
1
$\begingroup$

OK i found the issue. The Display field only updates when you change frame, it will not update if you move the empty but stay on the same frame, if you move one forward or back it works.

You can also use python to control this field. ( Firstsplash is name of particle settings, replace with whatever the name of you particle settings is )

import bpy

bpy.data.particles["Firstsplash"].draw_percentage = 1
bpy.data.particles["Firstsplash.001"].draw_percentage = 1
bpy.data.particles["Firstsplash.003"].draw_percentage = 1
$\endgroup$
1
  • $\begingroup$ How are you moving the empty? I find the driver variable value, and the driven prop, in this case ps.draw_percentage change after a translation in the UI without a frame change, making the statement "The Display field only updates when you change frame" rather misleading, or most likely wrong. $\endgroup$
    – batFINGER
    Apr 19 '16 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.