- Mar 22, 2019
- 32
- 122
When you go to main menu and come back (continue or new game) dialogues are locked
Also when you restart a new game the first door is not locked.
Camera should be a bit higher (somewhere over the shoulder) to get a better fov.
RMB to turn is no good. Instead of using this and MouseOver event you should always enable the rotation and use a graphics raycast from camera in camera axis (center of screen) ignoring collisions with the PC once per frame (in Update of character controller)
Also when you restart a new game the first door is not locked.
Camera should be a bit higher (somewhere over the shoulder) to get a better fov.
RMB to turn is no good. Instead of using this and MouseOver event you should always enable the rotation and use a graphics raycast from camera in camera axis (center of screen) ignoring collisions with the PC once per frame (in Update of character controller)