Object Rotation using rotating GUI

Hi Guys

I’m currently stuck and would be grateful if someone can help me.

My aim is to rotate an object by touch rotating a GUI or other interface. The main thing is to have the velocity of rotation of the touch input match the rotation velocity of the object itself.

I’ve searched around and haven’t found an answer yet and not sure if it is even possible.

I think you would GUI.RotateAroundPivot and match the world object rotation

Hi fire7side

thanks for the suggestion, I see the Gui.RotateAroundPivot function uses a float angle to rotate the Gui object, can it incorporate a transform.rotate function within it?