How do I change player controller for strategy game.
Hello my name is Lewis Foo and I'm currently making a strategy game for a paid project but I've come in to a bit of difficulty with my player controller. I start off as the usual strategy game controller with a top down view of the world and I can click on units and they highlight. I've managed to get the current player controller to possess a unit when I press e on a unit but it still has all the top down view controls how do I make it so that the possessed unit has first person controls after I possess it?
you need to handle the input inside of the pawn. so when you are in the top down view selecting units you want a pawn that just has a camera and can fly around and handle the flying around input in that pawn class. so for example you want to have your classes set out somewhat like this:
answered Oct 21 '14 at 09:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here