[Script Reference] FirstPersonController.cs - Unity

Publicado el: 29 junio 2015
en el canal de: Alex Young
466
0

This video displays a script that shows how to create a simple but effective First Person Controller in Unity. It is modified from Unity's example in the scripting API.

FirstPersonController.cs - https://bit.ly/FirstPersonControllerS...

I added air control and mouse look to make it more useful.

Hopefully this is useful for someone who wants to know how to setup a FirstPersonController.cs w/ air control. Its relatively simple but can be confusing to get working exactly as expected.

You can always use the FirstPersonController prefab from the standard assets, but my goal was to make a stripped down version that still provided 90% the functionality.

Includes:
Air Control
Mouse Look
Mouse Look Vertical Clamp (set at -90, 90)

This script was optimized to provide the same speed and physics of the example code provided by Unity at :

http://docs.unity3d.com/ScriptReferen...


Support my work & channel
---------------------------------------­­­­--------------------------------
My Twitter :   / phasestate  
My Website : http://bit.ly/decoherentgames
My Apps : http://bit.ly/alexyoung_apps


En esta página del sitio puede ver el video en línea [Script Reference] FirstPersonController.cs - Unity de Duración hora minuto segunda en buena calidad , que subió el usuario Alex Young 29 junio 2015, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 466 veces y le gustó 0 a los espectadores. Disfruta viendo!