Ship driving and controlling with UE5 default buoyancy..

I am trying to make a system where the player can move around freely in the deck of the ship but also can take control of the wheel and move it around… How can I make this happen? Thanks in advance…