{"author_url":"https://blog.hatena.ne.jp/TAKOYAKING/","blog_title":"TAKOYAKING\u2019s blog","title":"Unity: \u843d\u4e0b\u306e\u81ea\u524d\u8a08\u7b97 (\u7c21\u6613\u7248)","type":"rich","provider_url":"https://hatena.blog","categories":["Unity"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/T/TAKOYAKING/20200808/20200808195703.gif","provider_name":"Hatena Blog","version":"1.0","published":"2020-08-12 09:00:00","author_name":"TAKOYAKING","height":"190","width":"100%","description":"Cheap gravity script - Unity Answers\u53b3\u5bc6\u306b\u306f\u9055\u3044\u307e\u3059\u304c\u3001\u7c21\u6613\u7248\u3067\u540c\u3058\u3088\u3046\u306a\u52d5\u304d\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3053\u307e\u3067\u6b63\u78ba\u306b\u52d5\u304d\u3092\u8a08\u7b97\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067\u3053\u308c\u3067\u3044\u3044\u306a\u3089\u3053\u308c\u3092\u4f7f\u3044\u305f\u3044\u3067\u3059\u3002\u7c21\u6613\u91cd\u529b\u3092\u81ea\u524d\u3067\u8a08\u7b97\u3057\u305f\u6642\u306e\u9244\u7403\u306e\u52d5\u304d\u2193 float velocity = 0; void FixedUpdate() { var pos = transform.position; velocity += Physics2D.gravity.y * Time.fixedDeltaTime; pos.y += velocity * Time.fixedDeltaTime; transform.p\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakoyaking.hatenablog.com%2Fentry%2Feasy_gravity_calculation\" title=\"Unity: \u843d\u4e0b\u306e\u81ea\u524d\u8a08\u7b97 (\u7c21\u6613\u7248) - TAKOYAKING\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://takoyaking.hatenablog.com/entry/easy_gravity_calculation","blog_url":"https://takoyaking.hatenablog.com/"}