I am using a topdown character and im having some problems with its movement. When i start the level with the chatacter in it directly the character moves fine until i open my inventory. After i close the inventory the character moves for a short while, then stops working. When i start the game from the main screen the same thing happens, once the 3d level starts the character wont move. I have tried using Set Input Mode game only, and Game and UI but it hasnt worked. Anyone know what the problem could be?
Sounds like the UI is somehow stealing focus. How are you closing the ui? Should work with removeFromParent.
Hi, thats for the reply. Somehow i fixed the inventory problem. Its one of those things where i experimented until it worked, but im not sure what i did But the problem remains when im starting the preview from the main menu. So the main menu goes to a character creation level, wich then loads a intro level wich then takes me into the game. When use Set input Mode Game Only in the node, On the levels begin play. This allows me to move for a few seconds then the character freezes.
If i open the inventory and close it the character can move again.
The inventory also uses a SetInputModeGameOnly when it closes so i dont get why that works but not if i put the same node at the levels Beging play or the player controllers begin play.
Im so confused, it feels i tried every possible conbination of set input nodes, and everyone gives me a different problem. Im startin to feel like the problem may be with the character controller. I used the default character controller. Ive added a few thing to it but havent removed anything.