I spent some time a few weeks back to figure this out, and I’ve got a bare-bones repo that uses rust through gdext to create a custom player node in rust:
https://github.com/drhaynes/godot-gdext-rust-example
Might be useful as a reference or starting point for further exploration.
[email protected]