Skip to content
[WIP] Godot GearVR drivers
C++ C Python Makefile
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 20 commits behind GodotVR:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
godot_headers @ 51bca3b
jni
.directory
.gitattributes
.gitignore
.gitmodules
LICENSE
README.md
SConstruct

README.md

GearVR GDNative plugin for Godot

WIP This is an unfinished work in progress repository, it requires a few unsubmitted changes in the core of Godot. Check back here soon when we're a little further along!

This repository contains the source code for the GearVR plugin for Godot. See demo project as an example for how to use the plugin

This is an Android only plugin that only works on suitable GearVR capable phones! Currently only the HMD is handled!

License

Please check the GearVR SDK for license information in relation to the GearVR SDK used in this project. The rest of this project is released under a MIT license.

Compiling

In order to compile this plugin you first need to download the GearVR SDK from the Oculus developer website. You will also need the Android NDK (Make sure it's in your PATH variable) and JDK.

After cloning this repository make sure to initialise the submodules with git submodule init When you've pulled a newer version make sure to run git submodule update

For now you will need to edit the jni/android.mk file to correct some paths. Still working on making that switchable

Now run:

ndk-build

After it has successfully build, copy the contents on the newly created Libs\ folder into demo\addons\godot_gearvr

You can’t perform that action at this time.