I use this component:
and I need to set the position (highlighted in red) through the code. How do I do this? All my attempts lead to an error:
Tnx for answer!
I use this component:
and I need to set the position (highlighted in red) through the code. How do I do this? All my attempts lead to an error:
Tnx for answer!
Hi, you may have figured this out already, but just in case. sourceObject corresponds to Override Source in the inspector. The properties you are looking for are .data.position and .data.rotation. Hope that helps!