{"image_url":null,"published":"2017-04-04 01:50:47","blog_url":"https://toburau.hatenablog.jp/","title":"RaycastHit","type":"rich","version":"1.0","description":"RaycastHit - Unity \u30b9\u30af\u30ea\u30d7\u30c8\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 Ray\u3092\u98db\u3070\u3057\u3066\u885d\u7a81\u3057\u305f\u3068\u304d\u306b\u3001\u885d\u7a81\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u60c5\u5831\u3092\u5f97\u308b\u306b\u306fRaycastHit\u3092\u7528\u3044\u308b\u3002 \u885d\u7a81\u3057\u305f\u4f4d\u7f6e\u306fRaycastHit\u306e\u30e1\u30f3\u30d0point\u3067\u53d6\u5f97\u3067\u304d\u308b\u3002Ray\u306e\u958b\u59cb\u70b9\u304b\u3089\u885d\u7a81\u3057\u305f\u70b9\u307e\u3067\u30e9\u30a4\u30f3\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9\u306f\u6b21\u306e\u901a\u308a\u3002 Vector3 pos; Vector3 dir; RaycastHit hit; if (Physics.Raycast(pos, dir, out hit)) { Debug.DrawLine(pos, hit.point); }","width":"100%","author_name":"toburau","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20170404%2F1491324647\" title=\"RaycastHit - \u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/toburau/","provider_name":"Hatena Blog","categories":["\u30d7\u30ed\u30b8\u30a7\u30af\u30c815","Unity"],"url":"https://toburau.hatenablog.jp/entry/20170404/1491324647","blog_title":"\u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18","height":"190","provider_url":"https://hatena.blog"}