{"id":19445680,"url":"https://github.com/kuritaro1122/stgoptionmovement","last_synced_at":"2026-05-15T11:36:23.274Z","repository":{"id":170530501,"uuid":"403198567","full_name":"kuritaro1122/STGOptionMovement","owner":"kuritaro1122","description":"[Unity] オブジェクトの座標と回転を一定距離空けてトレースする。","archived":false,"fork":false,"pushed_at":"2022-04-09T03:55:56.000Z","size":1903,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T08:37:35.479Z","etag":null,"topics":["csharp","unity","unity-scripts"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kuritaro1122.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-05T02:35:44.000Z","updated_at":"2022-04-09T02:31:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf35430b-abd9-4661-8bf7-6609cd14ae31","html_url":"https://github.com/kuritaro1122/STGOptionMovement","commit_stats":null,"previous_names":["kuritaro1122/stgoptionmovement"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kuritaro1122/STGOptionMovement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuritaro1122%2FSTGOptionMovement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuritaro1122%2FSTGOptionMovement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuritaro1122%2FSTGOptionMovement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuritaro1122%2FSTGOptionMovement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuritaro1122","download_url":"https://codeload.github.com/kuritaro1122/STGOptionMovement/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuritaro1122%2FSTGOptionMovement/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33065719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","unity","unity-scripts"],"created_at":"2024-11-10T16:11:29.980Z","updated_at":"2026-05-15T11:36:23.239Z","avatar_url":"https://github.com/kuritaro1122.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STG Option Movement\n\nオブジェクトの座標と回転を一定距離空けてトレースする。\\\n[HyperNova](https://kuritaro1122.github.io/HyperNova-Web/)のオプション砲移動処理にこのプログラムを使用しています。\n\n# DEMO\n![gif](/img/demo.gif)\n\n# Requirement\n\n* UnityEngine\n* System.Collections.Generic\n\n# Usage\n\n① STGOptionMovement.cs を任意のGameObjectにコンポーネントする\\\n② STGOptionMovementにターゲットと追尾させるGameObjectをアタッチする\\\n③ 座標の更新タイミング(updateType)をinspectorから選択\\\n④ パラメータを調整\n\n※ より違和感なく動かすために、updateTypeをmanualにして、ターゲットの座標を更新した直後にvoid Update_()を呼ぶことを推奨します。\n\n# Contains\n\n## Inspector\n\n![image](/img/inspectorView.png)\n\n## Public Function\n```\nvoid Update_()\n```\n\n\n# Note\n\nターゲットが一定距離進むごとにTransformの情報を保存し、それらの座標や回転を線形補間(Lerp)することによりオプションを動かしています。\n\n動きをより滑らかにするためには、distanceにより小さな値を設定し、Body/stepにより大きな値を設定してください。\nただし、キャッシュを取る回数が増加するため処理は重くなります。\n\n# License\n\n\"STGOptionMovement\" is under [MIT license](https://en.wikipedia.org/wiki/MIT_License).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuritaro1122%2Fstgoptionmovement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuritaro1122%2Fstgoptionmovement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuritaro1122%2Fstgoptionmovement/lists"}