Godot Version
4.3
Question
I’m trying to add a joystick to a vehicle. I’ve tried to copy the interactive joystick from the XR tools demo as best I can, but when I place it on the vehicle, the vehicle just starts flipping around. I am not very experienced with godot or game development, so perhaps I’ve done something wrong, or else I can’t figure out how to get it right.
I’ve tried searching to find answers to this problem, but have not been able to find what I’m looking for.
– update: more info:
I started by creating an inherited scene of the interactive joystick scene, and then added all the parts of the joystick to the inherited scene, and then I tried to attach that scene to the RigidBody that is the vehicle (it’s sort of a hover vehicle thing, so not a car or airplane; not that it should matter much for the functionality of the joystick. Technically, I actually want more of a flight yoke, but the joystick is the closest option in the tools.). I am using the jolt physics plugin, but I don’t think that is the root of the problem?
I haven’t actually added any code to do anything with the joystick. I figured I should make sure it feels like it’s in the right place first.
The most recent time I tried to figure out if there is something I can do to get this working, I also had visible collision shapes on, and it seems like the handle collision shape isn’t staying attached like I would expect either.