How to extract all instance locations

Is there a function to extract all locations of an instance in a given scene?
That is an analogue to render_egoposes for other actors

Hi. There is no existing function, but you could easily write one. If you work in global coordinates you just need to get all sample_annotations for an instance and accumulate their translations ( Note that these are in global coordinates.

1 Like