Get particle position in scratchpad

Hi there!

I’m trying to get the position (x,y,z values) of my particle in a scratchpad. I’ve tried using all the position attributes (“PARTICLES” Position, “ENGINE” “EMITTER” SimulationPosition, “INPUT” Position) but they all seem to return 0.
Anyone that could help me out? Thank you in advance!

You haven’t told yet, but have you changed the binding of your particle system?

Creating a new scratch pad doesn’t change anything, you have to set a new binding inside the bindings card:

1 Like

So the correct attribute to get from your map in scratchpad is Particles.Position
It is possible that it returns zero if the particles are at the local or world origin (depending on the emitter space)
I don’t think I’ve seen it return zero in any other case.
You can use the Niagara Debugger with a particle visualiser set to Position to have it draw labels of the position value next to the particles.


Thank you for your reply! I found out that it was due to the “Rotate around point” node overriding the position.

Glad that help you :slight_smile: