04-09-2023, 06:17 AM
(01-09-2023, 06:10 PM)Renman3000 Wrote: Hi there,
I want to set an ObiParticleAttatchment.target, via code.
I have the index of the obiRope.blueprint.groups[i]... but from there, I am not clear on how how to then get the required access.
Thanks
Hi,
To set the target, you just do:
Code:
attachment.target = yourTarget;
I'm not sure how the index to the particle group would be related to this, the target and the particle group attached to it are two different things. I can suggest taking a look at the manual's attachments scripting section: http://obi.virtualmethodstudio.com/manua...ments.html
let me know if I can be of further help,
kind regards