scenekit

Build SceneKit 3D scenes with SCNView, SCNScene, and PBR materials.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Roy-wonji/claude-config --skill scenekit-roy-wonji
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scenekit
Source: https://github.com/Roy-wonji/claude-config/tree/main/skills/swift-ios-skills/skills/scenekit
Command: npx skills add https://github.com/Roy-wonji/claude-config --skill scenekit-roy-wonji

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you build, structure, and troubleshoot SceneKit-based 3D scenes for iOS by covering the essential scene graph, rendering, lighting, animation, physics, asset loading, and SwiftUI integration.

Core Features & Use Cases

  • Scene setup & node hierarchy: Create an SCNView/SCNScene, compose nodes via SCNNode, and manage transforms in the SceneKit coordinate system.
  • Materials, lighting, and cameras: Configure PBR materials (.physicallyBased), attach and tune SCNLight types (including shadows and light limits), and set up SCNCamera viewpoints.
  • Interaction-ready effects: Animate nodes using SCNAction, simulate physics with SCNPhysicsBody (forces, collisions, gravity), add particles with SCNParticleSystem, and embed SceneKit in SwiftUI using SceneView.
  • Model loading & production guidance: Load assets (prefer .usdz), use reference nodes for large models, and apply a practical checklist of common mistakes and review items.

Quick Start

Use the scenekit skill to set up an SCNView with a new SCNScene, add a camera and light, then create a simple node with geometry and a physically based material for an interactive 3D preview.

Frequently Asked Questions about scenekit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a basic SceneKit scene with PBR materials and lighting in SwiftUI?

To set up a SceneKit scene in SwiftUI, use the SceneView to embed an SCNScene, then configure SCNNode geometry with physicallyBased SCNMaterial properties and attach an SCNLight to enable proper lighting and shadows.

How do I load 3D model assets like USDZ files into an SCNScene?

Loading 3D model assets into an SCNScene involves importing .usdz or .scn files and using SCNReferenceNode for large models to optimize memory and maintain efficient scene graph hierarchy.

Can I use SceneKit for physics simulations and node animations on iOS?

Yes, SceneKit supports physics simulations by configuring SCNPhysicsBody for gravity and collisions, and handles node animations using SCNAction and SCNTransaction to move objects within the 3D scene graph.

Does SceneKit work with SwiftUI or should I use RealityKit instead?

SceneKit integrates with SwiftUI via the SceneView component, but RealityKit is recommended for new projects as Apple is deprecating SceneKit in favor of RealityKit for modern iOS 3D rendering.

What are common mistakes and limitations when configuring SCNLight and SCNCamera?

Common SceneKit mistakes include exceeding light limits which disables shadows, and misconfiguring SCNCamera coordinate systems, requiring a production checklist to validate physics contact masks and node transforms.