Post

Replies

Boosts

Views

Activity

Comment on RealityView attachments do not show up in Vision Pro simulator
@J0hn First I thought the child would be hidden by the parent (do you mean this with "inside"?) but I have repositioned it without any success. Then I tried to change scale factor in case it should be too small - same result. However, the child is added in the children collection. The parent entity is embedded in a scene created by Reality Composer Pro. Maybe this is the problem?
Topic: Graphics & Games SubTopic: RealityKit Tags:
Aug ’23
Comment on RealityView attachments do not show up in Vision Pro simulator
Many thx @J0hn. With content.add(panelEntity) I get the attachment on screen visualized! In the wwdc2023 video and code example they don't use this and apply parentEntity.addChild(panelEntity) instead - but this doesn't work for me. So content.add seems to be must-have? PS: I want to pin an attachment (text label) to an entity so that the label automatically moves with the entity and thought addChild would do this.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Aug ’23