Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinw/godotvisionexample
Godot in visionOS / RealityKit
https://github.com/kevinw/godotvisionexample
godot realitykit visionos
Last synced: 3 months ago
JSON representation
Godot in visionOS / RealityKit
- Host: GitHub
- URL: https://github.com/kevinw/godotvisionexample
- Owner: kevinw
- License: mit
- Created: 2024-02-04T22:53:37.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-12T11:47:27.000Z (10 months ago)
- Last Synced: 2024-04-14T02:28:17.075Z (10 months ago)
- Topics: godot, realitykit, visionos
- Language: GDScript
- Homepage:
- Size: 1.63 MB
- Stars: 79
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GodotVisionExample
An example project for [GodotVision](https://github.com/kevinw/GodotVision).
![Screenshot showing Godot project running in the visionOS Simulator](docs/screenshot1.jpg)
This Xcode example project specifies GodotVision as a package dependency, and has an example Godot project in `Godot_Project`.
### Questions? Join the [GodotVision Discord](https://discord.gg/XvB4dwGUtF)
## To Run
- Get the newest Xcode (15.2).
- Install the visionOS SDK when it asks you which platforms you'd like to deploy to.
- Clone this repository.
- **❗❗ VERY IMPORTANT ❗❗** Open `Godot_Project/project.godot` in Godot. (This is so that Godot's asset importers run.)
- Back in Xcode, set the target next to the play button to be Apple Vision Pro simulator.
- Hit play. You'll get an error that you need to "Trust and Enable" the macros in [SwiftGodot](https://github.com/migueldeicaza/SwiftGodot) and [SwiftGodotKit](https://github.com/migueldeicaza/SwiftGodotKit). You may need to click the build error in the issues tab to enable them.
- Hit play again. The first build will be slow, since we need to compile SwiftGodot, which includes Swift bindings for all of Godot's gdextension API. Subsequent builds will be faster!## To Hack on GodotVision
GodotVision is referenced as a Package Dependency in this example repo. If you want to modify GodotVision:
* Clone the [GodotVision](https://github.com/kevinw/GodotVision) repository next to your project.
* Drag the GodotVision folder onto your Xcode project's navigator/file tree on the left. This establishes a local package dependency and changes to GodotVision you make will have immediate effect in your project.