I want each player to be able to push other players, when _raycast is colliding with them and "attack" action is pressed, this seems to work so far, but since I've never done multiplayer in Godot before, I'm wondering if there is anything wrong with this code.
Perhaps there are better ways to do it? I'm open to suggestions!
This is the script for player: (C#)
https://pastebin.com/Ejk3SU0D
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.