Scatter with cube as helping object

Hi,
I want to 3d scatter an asset for my SDG with Omniverse Replicator. The asset has a lot of 2-dimensional meshs, so i cant use the gpu collison check while scattering. As a workarround i wantedt to use an invisable cube which would be scattered instead and acts as a placeholder for the asset. Then i want position the asset at the cubes position and rotation. Sadly I didn’t find a way to get the cubes postion while running the script. is there a possible solution for this. Or maybe an alternative approach?

Hi!

You stated “The asset has a lot of 2-dimensional meshs, so i cant use the gpu collison check while scattering.” Is this because the scatter functions in replicator are not working in your asset? What error are you getting? The collision checking in scatter do not use the GPU btw, it’s done using Physx scene queries.
@dennis.lynch is it possible to get the transforms of assets each frame and then use them to update some other prim on the stage without hacking into the nodes? I know it will be once our upcoming improvements are released but that’s not out yet.

-H

It might be possible using orchestrator.step_async()?

Get the transforms, set the transforms, then calling step_async() again