{"id":15722492,"url":"https://github.com/lyurongjian/glb2convexshape","last_synced_at":"2026-02-20T01:01:47.953Z","repository":{"id":245203771,"uuid":"816219825","full_name":"LyuRongjian/glb2convexshape","owner":"LyuRongjian","description":"A Defold library for generate .convexshape file from .glb file.","archived":false,"fork":false,"pushed_at":"2024-07-05T09:20:27.000Z","size":61,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T04:13:42.108Z","etag":null,"topics":["3d","collision","convexshape","defold","glb"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/LyuRongjian.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":"2024-06-17T09:34:51.000Z","updated_at":"2024-10-15T20:57:19.000Z","dependencies_parsed_at":"2024-10-24T16:50:40.348Z","dependency_job_id":"5a13ebc0-dc70-4dbd-86e2-5dbab04594c4","html_url":"https://github.com/LyuRongjian/glb2convexshape","commit_stats":null,"previous_names":["lyurongjian/glb2convexshape"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyuRongjian%2Fglb2convexshape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyuRongjian%2Fglb2convexshape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyuRongjian%2Fglb2convexshape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LyuRongjian%2Fglb2convexshape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LyuRongjian","download_url":"https://codeload.github.com/LyuRongjian/glb2convexshape/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366716,"owners_count":21418772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["3d","collision","convexshape","defold","glb"],"created_at":"2024-10-03T22:08:08.884Z","updated_at":"2025-10-15T19:37:21.573Z","avatar_url":"https://github.com/LyuRongjian.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Defold library for generate .convexshape file from .glb file\n\n---\n##  How to use it\n1. Add release `.zip` file in your project file `game.project -\u003e Main -\u003e Project -\u003e Dependencies` and reopen your project;\n2. Right click `.glb` file in your project and select `Generate convexshape file`, it will create a `*-convexshapes` folder and a `*collision game object` contains `.convexshape` in the folder before;\n3. You can use this `.go` file as a collision shape, you can add model in this `.go` file, but you'd better **not** do that, because when you run this script to regenerate convexshape this `.go` file will be covered. You can put both `*collision.go` and a model in a `.go` file when this go file in a `collection` file.\n\n## Current problems\n1. Not support `Sparse Accessors` in glb files.\n2. There still have 0.04 distance between two collision shapes, you can read this artical for detail \u003chttps://forum.defold.com/t/using-a-dae-mesh-for-collision/69434/3\u003e.\n3. Only test in simple models, so i dont know if it works in more complex models.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyurongjian%2Fglb2convexshape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyurongjian%2Fglb2convexshape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyurongjian%2Fglb2convexshape/lists"}