HingeJoint3D とかでやるっぽい
https://ask.godotengine.org/6619/3d-rigid-body-locall-axis-lock