I have a blueprint which is inheriting from the rectlight class. This blueprint’s purpose is to add some additional functionality onto of the rect light.
I am trying change the pivot offset parameter, which is found on the details panel. (I was going to add screen captures, but they aren’t uploading)
In the blueprint editor, I see there is a Get Pivot Offset variable, which I have tested, and it does get the current pivot offset. I can’t however find a way to set the pivot offset. Is this possible?
Jump bumping this… After a lot of searching, people have said this is not possible and a workaround is to add a parent actor and use that pivot as the offset. This workaround will not work in my case.
I must say, I am quite surprised this is not possible.
I don’t really understand what you’re trying to do. To change the “Pivot” of something it has to be in relation to something else. The Pivot offset you’re looking at is the offset for the transform gizmo, which only exists in the editor.
If you need this rect light to be offset from the “center” of the blueprint then as you have seen you need a parent object, even if that object has no purpose and has no renderable aspect.
Yes, I am trying to offset the pivot from the center of the light. I didn’t realize that the pivot offset is for the transform manipulator only. Thanks for clarifying.