% H# J1 f) ^4 _+ [, v' |- f0 B- D% n
±¾ÊÓƵ½Ì³ÌÊÇÓÉCGCookie»ú¹¹³öÆ·µÄUnityµÚÒ»È˳ÆÉä»÷FPSÓÎÏ·ÎäÆ÷ÖÆ×÷ÊÓƵ½Ì³Ì£¬CGCookie Fundamentals of Weapon Mechanics in Unity£¬Ê±³¤£º5Сʱ£¬´óС£º1 GB£¬MP4¸ßÇåÊÓƵ¸ñʽ£¬½Ì³ÌʹÓÃÈí¼þ£ºUnity 5, ×÷ÕߣºJonathan Gonzalez£¬¹²12¸öÕ½ڣ¬ÓïÑÔ£ºÓ¢Óï¡£
! X* w* i& t, M2 V, `UnityÊÇÓÉUnity Technologies¿ª·¢µÄÒ»¸öÈÃÍæ¼ÒÇáËÉ´´½¨ÖîÈçÈýάÊÓƵÓÎÏ·¡¢½¨Öþ¿ÉÊÓ»¯¡¢ÊµÊ±Èýά¶¯»µÈÀàÐÍ»¥¶¯ÄÚÈݵĶàƽ̨µÄ×ÛºÏÐÍÓÎÏ·¿ª·¢¹¤¾ß£¬ÊÇÒ»¸öÈ«ÃæÕûºÏµÄרҵÓÎÏ·ÒýÇæ¡£UnityÀàËÆÓÚDirector,Blender game engine, Virtools »ò Torque Game BuilderµÈÀûÓý»»¥µÄͼÐÍ»¯¿ª·¢»·¾³ÎªÊ×Òª·½Ê½µÄÈí¼þÆä±à¼Æ÷ÔËÐÐÔÚWindows ºÍMac OS XÏ£¬¿É·¢²¼ÓÎÏ·ÖÁWindows¡¢Mac¡¢Wii¡¢iPhone¡¢Windows phone 8ºÍAndroidƽ̨¡£Ò²¿ÉÒÔÀûÓÃUnity web player²å¼þ·¢²¼ÍøÒ³ÓÎÏ·£¬Ö§³ÖMacºÍWindowsµÄÍøÒ³ä¯ÀÀ¡£ËüµÄÍøÒ³²¥·ÅÆ÷Ò²±»Mac widgetsËùÖ§³Ö¡£! ?, l1 y' g, P0 g" Q, n
Unity3DÊÇÒ»¸öÈÃÄãÇáËÉ´´×÷µÄ¶àƽ̨µÄÓÎÏ·¿ª·¢¹¤¾ß£¬ÊÇÒ»¸öÈ«ÃæÕûºÏµÄרҵÓÎÏ·ÒýÇæ¡£Unity´ú±íÁËÒ»¸öÖʵķÉÔ¾¡ª¡ªÄÚÖõĹâÕÕÌùͼ£¨lightmapping£©¡¢ÕÚµ²ÌÞ³ý£¨occlusion culling£©ºÍµ÷ÊÔÆ÷¡£±à¼Æ÷¾¹ý³¹µ×¸ïУ¬ÈÃÄã¿ÉÒÔ»ñµÃ׿ԽµÄÐÔÄÜÌåÑé¡£²»¿É˼Òé¡¢ÎÞ·¨×èµ²µÄ²úÆ·ÒѾ¿´µ½ÁËÊï¹â¡£
8 Y& ]; `; g m7 N) E% Q5 qUnityÊÇÒ»¿î¿çƽ̨µÄÓÎÏ·¿ª·¢¹¤¾ß£¬´ÓÒ»¿ªÊ¼¾Í±»Éè¼Æ³ÉÒ×ÓÚʹÓõIJúÆ·¡£×÷Ϊһ¸öÍêÈ«¼¯³ÉµÄרҵ¼¶Ó¦Óã¬Unity»¹°üº¬Á˼ÛÖµÊý°ÙÍòÃÀÔªµÄ¹¦ÄÜÇ¿´óµÄÓÎÏ·ÒýÇæ¡£Unity 4×÷Ϊһ¸öÓÎÏ·¿ª·¢¹¤¾ß£¬ËüµÄÉè¼ÆÖ÷Ö¼¾ÍÊÇÈÃÄãÄܹ»´´½¨ÁîÈ˾ªÑȵÄÓÎÏ·¡£Èç¹ûÄã֮ǰ³¢ÊÔ¹ýUnity£¬Çë²é¿´Unity 3¶¼×öÁËÄÄЩ¸üС£Èç¹ûÄãÊǵÚÒ»´Î³¢ÊÔ£¬ÄǾͺúÿ´¿´°É£¬¿´Unity¶¼ÄÜΪÄã´øÀ´Ê²Ã´¡£Unity×÷ΪһÖÖ¿ª·¢»·¾³£¬¿ÉÈÃÄãÍÑÀ봫ͳµÄÓÎÏ·¿ª·¢·½Ê½£¬ÒÔÒ»ÖÖ¸ü¼òµ¥µÄ·½Ê½×¨×¢ÓÚÄãµÄÓÎÏ·¿ª·¢¡£¿ª·¢ÍøÂçÓÎÏ·¡¢Òƶ¯ÓÎÏ·¡¢µ¥»úÓÎÏ·£¬Unity¶¼ÄÜÍêȫʤÈΡ£- T; \9 A, N6 K5 C' c2 T2 P k: ~
CGCookie Fundamentals of Weapon Mechanics in Unity
: `+ h0 ~2 h# A0 u1 EIn this first course of the Unity First Person Shooter flow we¡¯ll create a weapon from the ground up. This course is aimed at intermediate to advanced users as we will be covering varying aspects to build this weapon. The project files will include a first person rig that includes a pistol that we will be using in this course. While the course does utilize a pistol, note that all the techniques covered in this course can be applied to any weapon type.
6 K; y& N; s5 O/ ~# xSo what will you learn how to build? This course will cover:
# w0 z' F- p1 L# B& g3 [Raycasting which will display bullet hole textures to indicate impact9 x3 B% l# K: Y- ~& t! K5 n% k
Mecanim animation states to control the various animations of our rig
' G1 G3 \( H" l( G2 R' EUsing Animation events to call a function at a precise moment
9 l$ I$ ^5 `" p. b9 Z- h: IScripting to control everything including when to call certain animations, audio or functions+ Q+ t6 I* `0 P% @# ?5 c
Adjusting the rate of fire based on the weapon type" X& B3 p. F% g# n$ Y- A5 I4 D
Shooting projectiles for things like a paintball gun or rocket launchers+ K7 c+ K! q9 P1 l4 D
Utilizing iron sights on a weapon when right clicking
. O, R4 C1 M4 P! LBy the end of this course you should feel confident to build your very own FPS weapons from machine guns to pistols to even projectile based weapons. This will be part of a series of courses that will guide you from start to finish on how to build a first person shooter.
" V2 i7 n8 j3 Zwww.lookps.com; H5 C# o0 ? I& p4 w
|