Restarting XCode worked.
Post
Replies
Boosts
Views
Activity
Seems like a lot of people has issues with the gestures, so my buddy and i made a library, hope it helps 🙏
https://github.com/Umain-Vision-Pro/UmainSpatialGestures
Yes, its possible to just scale it like:
RealityView { content in
if let entity = try? await Entity(named: "name") {
entity.scale = .init(repeating: 0.01) <- set whatever makes sense, its CGFloat and 1.0 would be 100% of the model size.
content.add(entity)
entity.setPosition(.zero, relativeTo: entity.parent)
}
}
This is one reason why i should open this in immersive space instead, but if you still want it in a volume, thats one way to do it.