Razzeeyy / godot-networked-instancing-example

An example for semi-automatic instantiation and replication over network for Godot
MIT License
15 stars 2 forks source link

3D version of nodes #2

Closed Lucaspec72 closed 5 years ago

Lucaspec72 commented 5 years ago

I've been trying to modify the addon to work with 3d but i always end up with errors =| will you add a 3d version of the node(s) in the future ?

Razzeeyy commented 5 years ago

I just did, check out SyncTransform3D and SyncRigidBody3D. Api usage is same methods/variables as in 2D variants of those nodes, api reference can be found here https://github.com/Razzeeyy/godot-networked-instancing-example#api-overview

If you want to just get started quick: simply use SyncTransform3D node instead of SyncNode and don't forget to check replicated and interpolated and it should just work. (It even can sync rigid bodies if you don't care about prediction stuff etc.).

Lucaspec72 commented 5 years ago

Nice ! Thanks for the quick reply and the awesome work you make !