{"id":659,"date":"2017-03-30T22:27:28","date_gmt":"2017-03-30T13:27:28","guid":{"rendered":"http:\/\/naochang.me\/?p=659"},"modified":"2017-03-30T22:28:40","modified_gmt":"2017-03-30T13:28:40","slug":"mecanimanimator-script","status":"publish","type":"post","link":"https:\/\/stacstar.jp\/blog\/?p=659","title":{"rendered":"Mecanim(Animator) + Script"},"content":{"rendered":"<p>Mecanim\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3064\u3064\u3001\u4e00\u90e8\u306e\u30d1\u30fc\u30c4\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5236\u5fa1\u3057\u305f\u3044\u3068\u304d\u306b\u3061\u3087\u3063\u3068\u306f\u307e\u308a\u307e\u3057\u305f\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5236\u5fa1\u3057\u3066\u3082\u52d5\u304b\u306a\u3044\u3002\u3002<br \/>\n\u306a\u304b\u306a\u304b\u60c5\u5831\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u3051\u3069\u30013D\u30e2\u30c7\u30eb\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5f8c\u306e\u60c5\u5831\u306f LateUpdate() \u306b\u3066\u53d6\u5f97\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u3053\u3067\u7121\u7406\u3084\u308a\u52d5\u304b\u305b\u3070\u52d5\u304d\u3092\u5236\u5fa1\u3067\u304d\u308b\u3068\u306e<a href=\"https:\/\/forum.unity3d.com\/threads\/mecanim-and-script-bone-controlled.160324\/\" target=\"_blank\">\u60c5\u5831\u3092\u30b2\u30c3\u30c8<\/a>\u3002DOTween\u3067\u8a00\u3048\u3070 SetUpdate(UpdateType.Late) \u3092\u4f7f\u3048\u3070OK\uff01\u3067\u3082\u52d5\u304d\u304c\u7d42\u308f\u308b\u3068\u3082\u3068\u306e3D\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u623b\u308b\u306e\u3067\u3053\u308c\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u3053\u3068\u306f\u5c11\u306a\u3044\u304b\u3082\u3002\u3002\u3002<br \/>\n<!--more--><br \/>\n\u4ed6\u306b\u306f\u3001<a href=\"https:\/\/docs.unity3d.com\/jp\/540\/Manual\/class-AvatarMask.html\" target=\"_blank\">AvatarMask<\/a>\u3092\u4f7f\u3046\u3068\u3044\u3044\u3068\u3044\u3046<a href=\"https:\/\/forum.unity3d.com\/threads\/mecanim-making-certain-limbs-ignore-animation.179158\/\" target=\"_blank\">\u60c5\u5831\u304c\u3042\u308a\u307e\u3057\u305f<\/a>\u3002AvatarMask\u3092\u4f5c\u3063\u3066\u3001Mecanim\u306e\u30ec\u30a4\u30e4\u30fc\u306e\u8a2d\u5b9a\u30a2\u30a4\u30b3\u30f3\u304b\u3089AvatarMask\u3092\u8a2d\u5b9a\u3002\u4eca\u56de\u306f4\u3064\u306e\u30dc\u30fc\u30f3(Hand_L, Hand_R, Eye_L, Eye_R)\u3092\u30aa\u30d5\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n<a href=\"\/blog\/wp-content\/uploads\/macanim_with_avatar_mask.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/macanim_with_avatar_mask.png\" alt=\"macanim_with_avatar_mask\" width=\"363\" height=\"457\" class=\"aligncenter size-full wp-image-661\" srcset=\"https:\/\/stacstar.jp\/blog\/.\/wp-content\/uploads\/macanim_with_avatar_mask.png 363w, https:\/\/stacstar.jp\/blog\/.\/wp-content\/uploads\/macanim_with_avatar_mask-238x300.png 238w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/a><br \/>\n\u3067\u3082\u3001\u3053\u308c\u306f\u304a\u305d\u3089\u304fMecanim\u4e0a\u306e\u30ec\u30a4\u30e4\u30fc\u540c\u58eb\u306e\u5834\u5408\u306b\u3060\u3051\u306b\u52d5\u304f\u3063\u307d\u304f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u306e\u5236\u5fa1\u3067\u306f\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u6700\u7d42\u7684\u306b\u306f3D\u30e2\u30c7\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u306e\u30bb\u30c3\u30c6\u30a3\u30f3\u30b0\u3067\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002\u3069\u3053\u304b\u306b\u30dc\u30fc\u30f3\u7b49\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30de\u30b9\u30af\u3067\u304d\u308b\u8a2d\u5b9a\u304c\u3042\u308b\u306e\u3067\u306f\u3068\u601d\u3063\u3066\u63a2\u3057\u3066\u3044\u305f\u3089\u3001Import Settings\u5185\u306eAnimations\u306e\u5404\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5185\u306b\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n<a href=\"\/blog\/wp-content\/uploads\/macanim_with_3D_import_mask.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/macanim_with_3D_import_mask.png\" alt=\"macanim_with_3D_import_mask\" width=\"298\" height=\"333\" class=\"aligncenter size-full wp-image-660\" srcset=\"https:\/\/stacstar.jp\/blog\/.\/wp-content\/uploads\/macanim_with_3D_import_mask.png 298w, https:\/\/stacstar.jp\/blog\/.\/wp-content\/uploads\/macanim_with_3D_import_mask-268x300.png 268w\" sizes=\"auto, (max-width: 298px) 100vw, 298px\" \/><\/a><br \/>\n\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3054\u3068\u306b\u8a2d\u5b9a\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u9006\u306b\u8a00\u3046\u3068\u5168\u3066\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u8a2d\u5b9a\u3057\u306a\u304f\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3001\u3082\u3061\u308d\u3093\u30aa\u30d5\u306b\u3057\u3066\u3082\u89aa\u306eTransform\u306b\u3064\u3044\u3066\u3044\u308b\u52d5\u304d\u306b\u306f\u8ffd\u5f93\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mecanim\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3064\u3064\u3001\u4e00\u90e8\u306e\u30d1\u30fc\u30c4\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5236\u5fa1\u3057\u305f\u3044\u3068\u304d\u306b\u3061\u3087\u3063\u3068\u306f\u307e\u308a\u307e\u3057\u305f\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5236\u5fa1\u3057\u3066\u3082\u52d5\u304b\u306a\u3044\u3002\u3002 \u306a\u304b\u306a\u304b\u60c5\u5831\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u3051\u3069\u30013D\u30e2\u30c7\u30eb\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5f8c\u306e\u60c5\u5831\u306f La [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-659","post","type-post","status-publish","format-standard","hentry","category-unity"],"_links":{"self":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=659"}],"version-history":[{"count":10,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/659\/revisions"}],"predecessor-version":[{"id":671,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/659\/revisions\/671"}],"wp:attachment":[{"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stacstar.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}