Need help to rotate an object

Hello,

I have an object that can rotate around a fixed center position.
No problem to display that but the problem is that the object can also move further away from the center position. When I then rotate the object it rotates around its own center but it schould rotate around the fixed center position.

So I have the angle of the object and the distance from the center.

Attached are some examples of possible positions.

Any idea if and how I can do that in Ignition?

Thanks
Rotation.pdf (2.98 KB)

If you place the two objects (circle and rectangle) like you want (EX, the third image) and group them, you can then use the angle of rotation of the group to rotate them.

+1 Grouping them will give both objects a shared center.