- Home /
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.
Hey, you'll be better posting this in the forums, because there'll be multiple methods, rather than a set answer. You're likely to get ignored here in answers. Good luck
Answer by haim96 · May 14, 2014 at 10:48 AM
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.
Your answer
Follow this Question
Related Questions
Making a bubble level (not a game but work tool) 1 Answer
[C#]CharacterController Turning 2 Answers
Networked player movement very choppy, rotation works fine - UNET 1 Answer
How to hold objects in third person? 1 Answer
Change Direction[C#] 1 Answer