Creating Buttons/Slider that moves with the AR object

Good day, I was wondering if there is a way to attach a movable Button/Slider to an AR object using Reality Kit.

For example, when I tap on the ARview, the AR object will appear with a few buttons around it. And when I move (translate, rotate) the object around, the buttons will also move together with the object.

Please advise if there is anyway to attach a few movable buttons to the entity of an animated object.

Thank you.
Hello,

You should consider whether these buttons should be displayed in perspective, or in screen space.

Displaying your buttons in screen space ensures that the button is always readable and able to be tapped, and can still be loosely "attached" to an object in the world (see https://developer.apple.com/documentation/arkit/creating_screen_annotations_for_objects_in_an_ar_experience?language=objc for an example)

See https://developer.apple.com/videos/play/wwdc2018/805/?time=779 for more info.
Creating Buttons/Slider that moves with the AR object
 
 
Q