GodotVR / godot-xr-tools

Support scenes for AR and VR in Godot
MIT License
488 stars 66 forks source link

C# support? #556

Open meriler98 opened 10 months ago

meriler98 commented 10 months ago

So when I saw this plugin as a person coming from Unity and enjoying working with C# is there any opportunity to have XR tools be also developed for C# to be able to make interaction using it?

DigitalN8m4r3 commented 10 months ago

you can use c# together with gdscript however there is no xr tools for c# and right now the only thing that comes close to the xr tools is the NXR Toolkit that is being developed by nub

https://github.com/stumpynub/NXR am sure noone has issues if i link this here so, he above is a work in progress, it contains movement/interactables/weapons/twohanded/reloading/shooting.... since am doing contributions to both projects i can easily explain what u get in both

right now when using xr tools together with the xr template, you get a solid, community tested toolkit, with it u can create mobile/pc vr games with save/load and a lot more. the latest pr by @Malcolmnixon adds for example Jog in Place... there is so much in the xr tools that it is better one discovers its possibilities by playtesting the demo scenes!

Now to the NXR Toolkit, it comes with stuff that currently is not done or supported in the xr tools, such as twohanded, switching while holding interactables. Snapzones that are similar to "Ghosts of Tabor"... so yeah quiet a lot is in the making but it is the beginning and it is not really field tested and might just not work out for one as there is 0 Documentation and there are 0 Tutorials and if any of these will ever be available, well who knows. Noone who works on it is getting paid, it is a free voluntery work to support our own projects and possibly others. After all it is Licensed under MIT like the XR Tools.

Malcolmnixon commented 9 months ago

Adding support for different languages has been a hot topic recently. The problem with Godot-XR-Tools is that it uses a little too much inheritance/extending when implementing features; and Godot currently doesn't allow inheritance/extending across languages (including GDExtension).

Given this we're looking at moving more of Godot-XR-Tools to a "modifier" approach where you can add modifier nodes to an existing object rather than having to extend your own script from a Godot-XR-Tools script. This would work better because nodes can still communicate when implemented in different languages.