Hi,
Ive been following the 1st person instructions on the web.
One small omission seems to be that the first person script needs to be added to the camera you create and child to the player.
But here MY question. I have a trigger area, in the center is an NPC, when you enter, I switch cameras and go to a dialogue. However my player continues walking!
Even If I take my finger off W. He continues walking tilll the dialogue is over in which case we switch back to the game cam and find ourselves somewhere odd..
Do I have to explicitly TELL the player to stop walking, or have I done something wrong, or is it a bug?
Mark
Comments
I can't recreate your issue from what you've described - placing a Trigger down in First Person mode will stop the Player from moving if the Trigger is set to Pause Gameplay. What version of AC and Unity are you using? Please post any screenshots that you think are relevant.
Open Player.cs, and change line 98 from:
else if (activePath == null && KickStarter.stateHandler.gameState == GameState.Cutscene && charState == CharState.Move)
to:
else if (activePath == null && (KickStarter.stateHandler.gameState == GameState.Cutscene || KickStarter.stateHandler.gameState == GameState.DialogOptions) && charState == CharState.Move)