{"height":"190","type":"rich","url":"https://noshipu.hateblo.jp/entry/2016/10/08/080246","author_url":"https://blog.hatena.ne.jp/noshipu/","author_name":"noshipu","version":"1.0","description":"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4efb\u610f\u306e\u65b9\u5411\u306b\u5411\u3051\u308btransform.LookAt()\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u308c\u3092\u7dda\u5f62\u88dc\u9593(Lerp)\u3092\u4f7f\u3063\u3066\u8868\u73fe\u3059\u308b\u65b9\u6cd5\u30e1\u30e2 \u30b3\u30fc\u30c9 # 2017/09/12 \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u4fee\u6b63(Time.time -> Time.deltaTime) Vector3 targetPosition = Vector3.zero; // \u4efb\u610f\u306e\u5411\u304f\u5ea7\u6a19 float speed = 2f; // \u56de\u8ee2\u30b9\u30d4\u30fc\u30c9\u3092\u5b9a\u7fa9 void Update () { Vector3 direction = targetPosition - transform.position; Quaternion toR\u2026","blog_url":"https://noshipu.hateblo.jp/","provider_name":"Hatena Blog","blog_title":"\u306e\u3057\u30e1\u30e2 \u30a2\u30d7\u30ea\u958b\u767a\u30d6\u30ed\u30b0","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoshipu.hateblo.jp%2Fentry%2F2016%2F10%2F08%2F080246\" title=\"LookAt\u3092\u7dda\u5f62\u88dc\u9593\u3092\u4f7f\u3063\u3066\u4f7f\u3044\u305f\u3044 - \u306e\u3057\u30e1\u30e2 \u30a2\u30d7\u30ea\u958b\u767a\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"published":"2016-10-08 08:02:46","title":"LookAt\u3092\u7dda\u5f62\u88dc\u9593\u3092\u4f7f\u3063\u3066\u4f7f\u3044\u305f\u3044","categories":["Unity"],"provider_url":"https://hatena.blog"}