Skip to content

Commit

Permalink
Added entity gesture recognizers to box
Browse files Browse the repository at this point in the history
  • Loading branch information
markhorgan committed May 29, 2022
1 parent 5d22351 commit 65ece7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions InteractivityInRealityKit/CustomARView.swift
Expand Up @@ -95,6 +95,7 @@ class CustomARView: ARView, ARSessionDelegate {
box.collision = .init(shapes: [.generateBox(size: [size, size, size])])
box.position = raycastResult.worldTransform.position
anchorEntity.addChild(box)
installGestures(for: box)
placedBox = true
}
}
Expand Down

0 comments on commit 65ece7d

Please sign in to comment.