Closed tengkuizdihar closed 1 year ago
I tried this myself, but gdextension is still missing two main features to make this possible:
If you still wanna try to make this work you'll likely need to modify gdextension itself until proper support for at least arbitrary virtual methods is added.
understandable, this is itching for me to solve, but I'll probably ask in discord for what could be done. Also, why is RID aren't supported yet, I thought it's basically just a regular UID?
Also, why is RID aren't supported yet, I thought it's basically just a regular UID?
It's a bit trickier if you also consider safety, see documentation of Rid
in GDNative.
But even apart from that, the library is currently in an early experimental stage, as advertised in the ReadMe. A lot of things are not implemented.
I'll keep this issue around to track Rid
implementation progress.
Original title: Creating A New Class From PhysicsServer3DExtension
Right now I'm trying to port Rapier Physics Engine to Godot 4 using PhysicsServer3DExtension. I have seen an example of this class in the wild with https://github.com/godot-jolt/godot-jolt/blob/HEAD/src/register_types.cpp#L28, but does anyone know the equivalent in rust gdextension?
So far I got to this point, with errors all over the place.
This is the error log I got from
cargo build