-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make into plugin #38
Comments
Can you detail a bit what this Plugin would mean (or point me to some documentation)? I am not familiar with this. Making the toolkit easier to use would be great. |
Ok, I made a branch showing how it could work. This only look like 10 minutes so no pressure to merge the PR :P I added 2 new files: It'll show up in the plugins tab of project settings now, and when enabled, it will automatically add the Since plugins generally live in the addons sub dir, I moved the Personally I always move OQ_Toolkit to the addons dir as it cleans up the root for my project code, but that's just personal preference. One last point for moving it into |
One more idea, if we have this plugin, we could add certain things as Nodes to the editor. Some parts of the toolkit make sense as scenes to be instanced, but other parts I think should be named nodes that could instead be added by users via the normal "Add child node" interface. These seem like good candidates to me:
|
The last thing that would be sorta nice, is to automate the adding of If that particular solution was chosen, we'd need a guard to prevent multiple calls to initialize I think. But that might be a nice safety feature anyway. |
I added that (auto initialize of vr singleton) to the branch so you can see if you like it. We can cherry pick bits and pieces from this branch if you like any of it. |
I was just setting up a new project with OQT and thought it might be nice for new users to make things a little more automatic with a plugin. It could automatically add the vr singleton for them and remove one more step.
The text was updated successfully, but these errors were encountered: