Project repository for a Unity-based 3-D motion controlled game/platform designed for the elderly. This project is designed to run on the Orbbec Persee (check under prerequisites).
This project was developed by students of Metropolia for Physilect, in collaboration with Hippa Metropolia.
- Orbbec Astra (for debugging)
- Orbbec Persee (for deployment)
- Unity
Download Unity Hub from
https://unity3d.com/get-unity/download
Unity 2019.2.12f1 was used to create this project.
After the installation is complete, open Unity Hub and add Unity 2019.2.12f1 under Installs - Add.
Add "Android Build Support" module.
- Android Studio (for building a working apk)
- Clone the repo to your local machine.
git clone https://github.com/geonhuiy/UnityOrbbec.git
- After opening the project on Unity, navigate to
HandCanvas
on the editor located on the left side. - Expand the
HandCanvas
and select eitherLeftHand
orRightHand
and enable theAttach
script on the right side of the editor to be able to control the hand with the mouse.
- Select:
File - Build Settings
. - Ensure that
Export project
option is checked. - Click on
Player Settings
and check thatTarget API Level
underOther settings - Identification
is set toAndroid 5.1 'Lollipop' (API Level 22)
. - Export the project.
-
Ensure that corresponding Android SDK is installed on Android Studio.
-
Navigate and open the exported project.
-
Remove/edit following lines from files :
<uses-sdk android:minSdkVersion="19" />
<android:uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
packagingOptions { doNotStrip '*/armeabi-v7a/*.so' } (Under defaultConfig) ndk { abiFilters 'armeabi-v7a' }
targetSdkVersion targetVersionHere -> 26
-
Sync Gradle files and build the APK under
Build - Build Bundle(s) / APK(s)
.
- Locate the built APK and upload it to a cloud storage of choice (Google Drive recommended).
- Download from the Orbbec Persee and install.
This project is licensed under the MIT license - see LICENSE.md for more details.