Monday 16 December 2013

Toggling view mode

To enable the player to change his view type during the game, all we need is get a key press:

Getting camera change input

In the node's properties, you can set which key will perform the input by changing its Input Name. On the console command, I used the command 'behindview' to set the third person mode. Then just link a player object to both nodes and voila, when the player press the V key (my chosen input) the camera mode will be change in game.

No comments :

Post a Comment