I want to know how to rotate Mesh Objects/Actors using widget buttons e.g. if you press the left button it rotates left and if you press the right button, it rotates right.
I tried some online tutorials but I couldn’t access the Mesh Objects/Actors from the widgets’ side. am hoping there is an easier way using interfaces to do this because ultimately I would like to use a similar method to make a character creator using modular characters.
The best way to do this would be to set a reference on the widget when initially creating it.
In this case, you’d want to have variables of the type StaticMeshActor/StaticMeshComponent/Actor depending on which you’re modifying.
You can also set the variables in your WidgetClass to be Exposed On Spawn. They’ll appear on the create node itself like I have in the image
It would probably be best to make a reference to this widget so you can modify it if you need to later down the line.