Dance Dance Maker 0.6 - Add GLTF Model loading support


Added GLTF model loading support, it is based on UniGLTF, which has pros and cons.

Prons:

Support zip of GLTF which means can load models download from SketchFab without unzip it, it is really convenient.

Cons:

UniGLTF haven't been update for 2 years, which means it is not fully compatible with modern GLTF protocol, some model maybe appear buggy.

Files

DDM-OC-sidequest_0.6.apk 626 MB
Aug 17, 2020

Get Dance Dance Maker! - VR game for Oculus Quest

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

Hey! I've been downloading models from VroidHub, load them after download, but couldn't figure out the file directory to load them again after restarting the game. Can you help me on this? Much appreciated.

string basePath = isAndroid ? "/sdcard/DanceMaker/" : Application.persistentDataPath + "/";
string path = basePath;
if (fileExt.Equals(".vrm"))
{
    path += "Avatar/";
}
else if (fileExt.Equals(".zip"))
{
    path += "GLTF/";
}
else
{
    path += "Others/";
}

Here is my path logic in code, So if you download a .vrm file from vroidhub using build-in browser, the download path should be:/sdcard/DanceMaker/Avatar/