RealityKitSampler is a sample collection of basic functions of RealityKit, Apple's AR framework for iOS.
1, Download or Clone this project and open in xcode.
2, Please change the "Team" field of xcode Signing and Capabilities to your account.
3, Build on your actual device. This project can not be used in Simulators.
The simplest way to use the ModelEntity and AnchorEntity.
Use USDZ models and animations.
How to select a video from your album and paste it as a texture.
How to place objects of different shapes and colors.
Visualiing facial expressions and what you say.
Interact body and AR object.
Detect a face then crop.
Multi Device AR Game.
AR with Vision Framework.
Content | Technical Elements |
---|---|
Put the box | ARView in SwiftUI, Scene, Entity, Anchor, MeshResource, Material. |
Big Robots | USDZ, Animation |
Big Monitor | VideoMaterial, SceneEvent |
Building Block | Ray Cast, Hit Test, Handle Gestures, Physics, Collision, TextureResource |
Speech Balloon | Face Anchor, ARSessionDelegate, Deal with RealityComposer |
Special Move | Body Anchor |
Face Cropper | Image Anchor |
AR Hockey | Collaborative Session |
Hand Interaction | addForce, use with Vision |
Daisuke Majima
Freelance iOS programmer from Japan.
PROFILES:
WORKS:
BLOGS: Medium
CONTACTS: [email protected]
Inspired by: ARKit-Sampler
Sound effect: zapsplat