Character movement to set positions

Hey folks,

So I’m just starting a new project and it’s a little different from my last one. Previously I have been using pre-made character controllers which allows a FPS style walk mode. However for this new project I want to have a player basically on the interior of a spaceship and have them glide from one console to another on a button press. So imagine it kind of like the gear stick of a car and if they press down they swill slide backward if they press right they slide right.

But I’m not really sure how to achieve this. I know it should be fairly simple, but I’ve been trying to pick apart the existing character controllers that I’m using and I’m struggling to get any real control over it.

this how i would do that: say i have 3 consoles, i create an array of vector3. each will hold a position of one of the consoles. now, every button click i will add or remove 1 from the array index and make the player move to the new position. hope it make sense for you.