rpc call works on 2 different projects?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By abolfazl98

i have 2 projects one of them is my server and the other one is my client .
i want to know rpc call works between them? how?
i tried but it didnt work , i should do anything special for it?

:bust_in_silhouette: Reply From: supper_raptor

Rpc works if you have similar Scene Tree structure in both client and server,
To call rpc on node /root/some_node, you need/root/some_node in both client and server.

thanks it works now i can call a function remotely on client from server but i can’t call a function on server from client !!
any idea?

abolfazl98 | 2020-04-08 19:35

You can use rpc_id function
To call a function on server from client

#id 1 is for server

supper_raptor | 2020-04-09 06:25