Godot 4.4.1 stable
So I’ve been trying to make a ship game where the player can drive around in ships. For now I’m playing alone, because I want to get the mechcanics down. However I want to turn it into a MP game, so I’m trying to make it MP compatable. Basically when a player interacts with a specific ship, they can control only that ship. I consulted ChatGPT, and it suggested I use an Array to link players with each ship, but I havent been able to get that to work. I’m gonna link my player code on how the game knows my player is sitting, but it only locks the player in place.
Any help or ideas would be greatly appreciated
var hit_object = result.get("collider")
if hit_object and hit_object.name == "wheel":
if Input.is_action_just_pressed("interact"):
sitting = !sitting