{"id":22427252,"url":"https://github.com/node-3d/3d-bullet-raub","last_synced_at":"2025-08-01T10:31:55.225Z","repository":{"id":28592015,"uuid":"117369812","full_name":"node-3d/3d-bullet-raub","owner":"node-3d","description":"Bullet physics plugin for Node.js 3D Core","archived":false,"fork":false,"pushed_at":"2023-11-28T08:16:33.000Z","size":10782,"stargazers_count":1,"open_issues_count":3,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-25T16:43:19.080Z","etag":null,"topics":["bullet","bullet-physics","node-3d","plugin"],"latest_commit_sha":null,"homepage":"https://github.com/node-3d/node-3d","language":"JavaScript","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/node-3d.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}},"created_at":"2018-01-13T18:56:07.000Z","updated_at":"2023-11-23T14:49:20.000Z","dependencies_parsed_at":"2023-12-09T11:42:44.295Z","dependency_job_id":null,"html_url":"https://github.com/node-3d/3d-bullet-raub","commit_stats":{"total_commits":51,"total_committers":4,"mean_commits":12.75,"dds":0.5686274509803921,"last_synced_commit":"ce702df69dc95447d653c73aa8a388ddc83220a1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-bullet-raub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-bullet-raub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-bullet-raub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-bullet-raub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-3d","download_url":"https://codeload.github.com/node-3d/3d-bullet-raub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228364059,"owners_count":17908319,"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":["bullet","bullet-physics","node-3d","plugin"],"created_at":"2024-12-05T20:11:17.649Z","updated_at":"2025-08-01T10:31:55.210Z","avatar_url":"https://github.com/node-3d.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js 3D Bullet\n\nThis is a part of [Node3D](https://github.com/node-3d) project.\n\n[![NPM](https://badge.fury.io/js/3d-bullet-raub.svg)](https://badge.fury.io/js/3d-bullet-raub)\n[![ESLint](https://github.com/node-3d/3d-bullet-raub/actions/workflows/eslint.yml/badge.svg)](https://github.com/node-3d/3d-bullet-raub/actions/workflows/eslint.yml)\n[![Test](https://github.com/node-3d/3d-bullet-raub/actions/workflows/test.yml/badge.svg)](https://github.com/node-3d/3d-bullet-raub/actions/workflows/test.yml)\n\n```console\nnpm i -s 3d-bullet-raub\n```\n\nBullet physics plugin for Node.js 3D Core\n\n![Example](examples/screenshot.jpg)\n\nThis plugin provides the `Shape` class to simplify the common use cases with Three.js and\nBullet Physics addon.\n\n * Can display debug shapes.\n * Updates mesh pose from physics engine.\n * Removes meshes when the body is destroyed.\n * `Shape` extends `Body` and works with `scene.hit()/scene.trace()`.\n\n```ts\nimport * as three from 'three';\nimport { init, addThreeHelpers } from '3d-core-raub';\nimport { init as initBullet } from '3d-bullet-raub';\n\nconst { gl, loop, Screen } = init();\naddThreeHelpers(three, gl);\nconst { scene, Shape } = initBullet({ three });\n\nconst screen = new Screen({ three });\n\nconst plane = new Shape({\n\tsceneThree: screen.scene,\n\tcolor: 0xface8d,\n\ttype: 'plane',\n\tdebug: 'solid',\n});\n\nconst box = new Shape({\n\tsceneThree: screen.scene,\n\tpos: [0, 10, 0], // use { xyz } or [xyz]\n\tmass: 3,\n\tdebug: 'solid',\n\tcolor: 0xbeefed,\n\tsize: { x: 3, y: 2, z: 1 }, // use { xyz } or [xyz]\n});\n\nloop(() =\u003e {\n\tscene.update();\n\tscreen.draw();\n});\n```\n\n* See [TypeScript declarations](/index.d.ts) for more details.\n* See [example](/examples/main.ts) for a complete setup.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-3d%2F3d-bullet-raub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-3d%2F3d-bullet-raub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-3d%2F3d-bullet-raub/lists"}