Welcome to the Unity AR App! This project leverages Augmented Reality (AR) to provide an interactive experience by integrating digital content, such as 3D objects, sounds, and animations, into the real world.
- Explore and interact with 3D objects in AR.
- Rotate objects, play associated sounds, and switch between objects.
- Easily customizable with new 3D models, sounds, and image targets.
- Unity 2022.3.52f1
- Vuforia Engine (Unity Plugin)
- Xcode (for iOS builds)
- Mac computer (for iOS builds)
- iPhone (for testing)
- 3D models (
.fbx
,.obj
,.glTF
) - Audio files (
.mp3
,.wav
) - Background image (for image targets)
- Clone the Repository:
git clone https://github.com/arda-oeztuerk/ar-unity-tutorial-ios.git
Navigate to the project directory and open it in Unity.
-
Import Assets:
- Drag and drop new 3D models, textures, or audio files into the Unity Assets folder.
- Use organized folders for better asset management.
-
Configure AR Content:
- Add imported 3D models as child objects to image targets.
- Configure positions, scales, and interactions in the Unity Hierarchy and Inspector.
-
Build the App:
- Select File > Build Settings in Unity.
- Choose iOS as the platform and switch platforms if necessary.
- Add required scenes and build the Xcode project.
-
Deploy to iPhone:
- Open the exported Xcode project, configure signing profiles, and connect your iPhone.
- Build and run the app on your device.
- Import 3D models into Unity and ensure textures/materials are properly assigned.
- Add them to the Hierarchy as child objects of the relevant image target.
- Import audio files into the Assets folder.
- Assign them to the corresponding objects in the
Multi Object Interaction
component.
- Import background images and assign them as new image targets in the Vuforia configuration.
- Ensure proper lighting and visibility for image targets.
- Test interactions (e.g., buttons, object manipulation) to verify correct functionality.
This project is released under the CC0 License. You are free to use, modify, and distribute this work without any restrictions.