Animation_nodes: Particle data node not working AN 2.1 Blender 2.80

Created on 19 Dec 2018  路  7Comments  路  Source: JacquesLucke/animation_nodes

Trying to get locations of particles, but the node gives out empty list..

.b

Most helpful comment

@lukad Oh yes, sorry.


If one want to get particle info for now, you can use the following expression to evaluate the depsgraph:

bpy.context.depsgraph.objects.get(object.name)

This object can then be used to get the particle system and get its data as follows:

Node Tree

All 7 comments

Yes, we are aware about this issue. Unfortunately, this is related to Blender itself, so we will implement a fix as soon as this gets fixed in Blender.

Fixed in 205bab2.

Should this be reopened? I see that the fix was reverted in 6158c32ffcb19b70303dfb8cd271acc9d3290e5b and it's still broken in the blender2.8 branch.
I also tried using the fix by checking it out directly and it wasn't working for me.

@lukad Oh yes, sorry.


If one want to get particle info for now, you can use the following expression to evaluate the depsgraph:

bpy.context.depsgraph.objects.get(object.name)

This object can then be used to get the particle system and get its data as follows:

Node Tree

Thanks for providing the workaround! 馃憤

Fixed in 9dbeeda.

image

@OmarSquircleArt
Thanks for the solution and this project! I just got an another question, If there is a way to add a GroupInput between Expression and Object Input? I want to control the source object. 馃槃

Was this page helpful?
0 / 5 - 0 ratings