21-12-2020, 02:58 PM
(This post was last modified: 21-12-2020, 02:59 PM by josemendez.)
(21-12-2020, 02:50 PM)FZMv587 Wrote: Hi bro,
I need use actor to get particles position.
I declare actor in Class and use it in Update() function,like picture.
And i get errors,but only at the first in Update() loop,then it can run well without errors。
I wonder what is the reason and how can i fix it .
Hi there!
you're missing:
Code:
if (actor.isLoaded)
before the for loop. You can't access actor data unless it's loaded in the solver . See: http://obi.virtualmethodstudio.com/tutor...icles.html
let me know how it goes!