Diploma in Apple Development 🍎👩🏻‍💻: Spatial 2: Lecture 7: Physics in RealityKit (particles, objects, joints).
Back to slide index.
Hi! 👻
First, don't forget to confirm your attendance using the Seats Mobile app!
Second, I'm going to start every lecture with a meditation from the fantastic Sitting Still Like a Frog book, all read by Myla Kabat-Zinn. If you don't want to participate that's completely fine.
Let's continue by looking at this Sample Code article from Apple: "Simulating particles in your visionOS app".
Stop press! Great comprehensive article from XReality.zone: "Unlocking the Power of visionOS Particles: A Detailed Tutorial". Let's take a quick look - this is useful as a resource to refer back to later if you want to explore particles further.
Another stop press! ParticleEmitterBurstSample on GitHub - let's try it!
Final stop press! Using SF Symbols in Particle Emitters from Step Into Vision.
Next, let's take a look at this sample code: "Incorporating real-world surroundings in an immersive experience" - this combines physics simulation and world sensing.
Let's continue by looking at this Sample Code article from Apple: "Simulating physics with collisions in your visionOS app".
Let's continue by looking at this Sample Code article from Apple: "Simulating physics joints in your RealityKit app".
Finally, Step Into Vision has loads of articles on physics - pick one and get it running on the simulator and the Headset if we have time. Here is a good one: Collisions & Physics: Physics Mass Properties.
Thanks! Please watch all of the content from today's lecture as homework and prepare to present your revised project thoughts next lecture. Don't forget, it's completely fine to present your app by making a screen recording, or even better, a live demo in class by streaming to my laptop.
Back to slide index.