Translating a Daz script into something for Unity?
In the thread found here (https://www.daz3d.com/forums/discussion/500631/simple-script-for-scene-arrangement-information-passing), cridgit provides a script for Daz that can export and import the Rotation, Scale, and Translation values of an object in Daz (and its children) to/from a JSON file. Now, I only just picked up Unity, but I think it should be possible to translate that script into something for Unity. Except I have no idea how because I've barely spent an hour so far actually using it. I hope it is possible, because an idea I have depends on it.
You see, I think it should be possible to arrange a Daz Scene using VR without having to add VR functionality to Daz. The way to do it, I figure, is to use the Daz to Unity/Blender/Unreal Bridges to export a scene to whatever platform the user prefers and use the VR controls that platform provides to arrange the scene more naturally than with numbers. Once the scene has been arranged by the user, the next step is to send the Rotation, Scale, and Translation values back to Daz.
(I have no preference among the three platforms named. I only picked them because they're free, have bridges between them and Daz, and can do VR. I'm posting in each of the three's subforums here in the Daz forum since, at the very least, there might end up being technical discussions that are unique to each one of the three. Sorry if this isn't the right way to do this.)
So far, we have an example of the code required to import/export the values using Daz (as seen in the aforementioned thread). I have no idea what it would take to make an equivalent for Unity, but I have confidence that it is at least possible to do. Is there anyone here who can translate the script into something for Unity?
Comments
Interesting - keep posting, when you figure out, how to do it.