我使用RealityComposer构建了一个AR场景,它目前只有一个对象(据我所知,这是一个实体)。使用Xcode,我正在加载这个RealityComposer场景,它的功能与预期一致。override func viewDidLoad() {
// Load the "Box" scene from the "Experience" Reality我确实从一些阅读中看到,我的“实体
AnchorEntity that is already attached to the scenearView.installGestures([.rotation, .translation], for: entity)
在RealityComposer中,我已经启用了一个静态运动类型的物理,以及每个对象的默认物理材料/碰撞形状。