How can I get list of all the available actors in a scene?
GasimGasimzada opened this issue · 2 comments
GasimGasimzada commented
The getActors
function requires creating an array of actors; so, it can copy the values into it. I want something similar to getActiveActors
but instead of getting changed actors, get all the available actors in the scene before running the simulation.
Pierre-Terdiman commented
getActors()
does not require creating an array. You can use the startIndex
parameter to retrieve actors one at a time, without creating an array. It's just less efficient.
GasimGasimzada commented
Makes sense thankd!