{"_id":"@barclah/jolt-physics","_rev":"9-7311df4ff04d1f2b46f4d6216cd36437","name":"@barclah/jolt-physics","dist-tags":{"latest":"0.31.0"},"versions":{"0.16.0":{"name":"@barclah/jolt-physics","version":"0.16.0","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.16.0","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"03613d7a2535aa591643d16a9122fb86b4c85c7d","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.16.0.tgz","fileCount":10,"integrity":"sha512-fJs5sQPDlzp0kLD0oOMZLCT0hzm26TEyTdSQj0XnTNLsexqwTvjqEAzb0EW7PdhMg9NzQrJW1sKWWiDrlkNxQg==","signatures":[{"sig":"MEYCIQDOvxsvjk9qb3pv6jkbhENLO0rbWHwKSK+tV9MEf5IqTQIhALU2qbCgPWaxF4rslhhVTDfAGWCZUvhSf8/06JDd3P8b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24435323},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"fae60d59d869706b23580db36524c84b317c7110","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.2.4","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.16.0_1709237694697_0.9523680731570578","host":"s3://npm-registry-packages"}},"0.16.1":{"name":"@barclah/jolt-physics","version":"0.16.1","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.16.1","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"8bd592f4a45332bdce7845608c135f6bb821eb4d","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.16.1.tgz","fileCount":14,"integrity":"sha512-BiMinQCIIpxDdLJNoOatnhieUouAaUaGqYkloDPZLJjvOTl3yN6bZi8Csgw7jvJk4YU4/YKiqRNgbNnbAyRHiw==","signatures":[{"sig":"MEQCIEccioiMthr7FomkyW3mbo1mU3e0923UPFDIrpLd9R3MAiB4X0GW+QHMg/2i5w8NpkflFqNJwuYSbj9zp7YiUpUINg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11111152},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"57a9017b121feacb370376232af4b72ced6651dc","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.2.4","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.16.1_1709239269040_0.8214714005059869","host":"s3://npm-registry-packages"}},"0.16.2":{"name":"@barclah/jolt-physics","version":"0.16.2","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.16.2","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"e4eefcecd30dfef7c6b2aeb5ed3f0440ecd19960","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.16.2.tgz","fileCount":14,"integrity":"sha512-HgSKDE2LadVNT1ZKZK6KbNmy5CFWLNvhnZHbYif8tpBfoN+JLpnUyZRaiR/0x1O0eV+upxWww+vnaos2gDB+cg==","signatures":[{"sig":"MEUCICB3NmObXO2+mb+8pQpwcrnQKX63wfGNLpd3P4/4xcGXAiEAvO2YFROflmfTGDxQ8cJZNPXceKxuvSbkFkkyGPTY8Ds=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11113995},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"098f64e3c99694d30676ff8215fd67312e9f3b44","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.2.4","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.16.2_1709931898989_0.7517494099321071","host":"s3://npm-registry-packages"}},"0.19.0":{"name":"@barclah/jolt-physics","version":"0.19.0","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.19.0","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"d0e98775d407874887a2229e437afa3ed3056d9a","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.19.0.tgz","fileCount":14,"integrity":"sha512-ubKZZ6GpCuOZkq1cIuzn6LBvgaRY4nW/Gx6YxpjtlNH3vMrXuNmCoYv8ClO04ilA1eGMNt4BsnowaczFYVY0sg==","signatures":[{"sig":"MEUCICsx40huk9UJ4ZhsPWBJoZiI6Gcu4zuK5QwARDsL3bv1AiEA/zX+X7x9mMGcMNW6YmayYoUGAnf6luRFCToWad+husQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11986769},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"30a018b5c95e0c259511b6b4bd4bf752d239b205","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.2.4","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.19.0_1710445354010_0.8389197999821147","host":"s3://npm-registry-packages"}},"0.19.1":{"name":"@barclah/jolt-physics","version":"0.19.1","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.19.1","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"080a394d613e1d18b5954ea3003ac02065addbaa","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.19.1.tgz","fileCount":14,"integrity":"sha512-bUqUovgZrGb3JEuylX7BXbfBdXu5RXhEWoS/+mALzvh8aO4VhMBBaQuBt/HF05IZLQLkZ584EBkwPBHmNfyOOQ==","signatures":[{"sig":"MEYCIQDBtQN4bFB50wKMZScH7wDOJ5EqPAH2C6aC37L5l0LdiAIhAP1J/oNNvO5YGskPX05xDvMeb+Kh7T5AOD3fqLpkSSjN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11988432},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"686e37df2a8c9e19c13c4b2684ff49e7f8ebcdc8","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.2.4","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.19.1_1710448849871_0.9628206973329076","host":"s3://npm-registry-packages"}},"0.19.2":{"name":"@barclah/jolt-physics","version":"0.19.2","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.19.2","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"0405d3ab6d77a542e5f3854d48e039aca9e15ac9","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.19.2.tgz","fileCount":14,"integrity":"sha512-i6zLfBe7JNO2gsAUmH6WIZoL09WGWMxNl7Qq57pF3P45Qk3VuiVR8yQbzdiMzuhscY8hUVziPV6jW0uXhF5b9w==","signatures":[{"sig":"MEQCICPPzBg4G1jX07mojvUlgXTUNfDHR3GLfHh+HUjT+/o4AiAx4a0GQYdsFYFZT9cqPryVRCDjkPyNNWU4bnqFGziQ2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11989233},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"eae4aef3a74475ca4418ba2bc86f33ee76326866","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.2.4","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.19.2_1712090418655_0.708802368766452","host":"s3://npm-registry-packages"}},"0.19.3":{"name":"@barclah/jolt-physics","version":"0.19.3","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.19.3","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"be342cd66bb0d9fdbcf75cc074eceb10b48a495f","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.19.3.tgz","fileCount":14,"integrity":"sha512-J74f6brh/aYqox9ACcY7K77Y5bFDBrH5UVH2aN0w1n6BzAS5RCO0NN+SHepNmdcc6PhP/74M2MwjeeLHHm++PQ==","signatures":[{"sig":"MEUCIB6Q2AB8Db7qxfflFpp3QJbLv2H5SSBeaok8HKPuyXwgAiEAnrLK6y0dkrVL3SV+BR45BUy6BnZq28oNTBaZZZFE+3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11990916},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"eae4aef3a74475ca4418ba2bc86f33ee76326866","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.2.4","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.6.2","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.19.3_1712091929339_0.44207914469553633","host":"s3://npm-registry-packages"}},"0.24.0":{"name":"@barclah/jolt-physics","version":"0.24.0","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.24.0","homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"87e07de80b3a0afd64f2b881b121a99502cd46ba","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.24.0.tgz","fileCount":14,"integrity":"sha512-gI2Th7AX4BQeYa4oT406dO9rwebT3HvmorgRAESHWZR7KptDyu3nfijMIyAHQ7x9kfzbIEItglJkbkWV9nYpiA==","signatures":[{"sig":"MEQCIGMU/3OUtFLP5/M455bkQ8+xGnVV25ySpRW4MapZcmH7AiANLSyKczYcotUyMJW//ZRcvr3ZzRz7SuHj+xcLeemilg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12771955},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"36a4106913ac66a3f968877d1a2183d4b32470c3","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.8.1","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.7.3","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.11.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.24.0_1719385261407_0.7155492025547838","host":"s3://npm-registry-packages"}},"0.24.1":{"name":"@barclah/jolt-physics","version":"0.24.1","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"author":{"name":"barclah"},"license":"MIT","_id":"@barclah/jolt-physics@0.24.1","homepage":"https://github.com/KyroVibe/JoltPhysics.js","bugs":{"url":"https://github.com/KyroVibe/JoltPhysics.js/issues"},"dist":{"shasum":"569569842684d97f25793e89154113389d074b29","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.24.1.tgz","fileCount":14,"integrity":"sha512-VejJZFuAQ1kmxckN+3xgMVXu6QgZFP0G1foXJmVwQIhRHLlJn2vJk/DyyDZ/Lv9tqXkfnLAVJf/RWWky4K1NEA==","signatures":[{"sig":"MEUCIQDgWEZG/PEMRlf9nlpiDSXAiD7GIIVAC3zHh4nVjZbwBwIgJC9liqgfBnGOcbkQd8OELX/PsygaeEplapY5c7eb0yo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11658897},"main":"dist/jolt-physics.wasm-compat.js","type":"module","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./auto-wasm":{"types":"./src/jolt-auto-wasm.d.ts","default":"./src/jolt-auto-wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./package.json":"./package.json","./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm"},"gitHead":"37d20efc6075d0bfc360a67345ca44a2d5caeb8b","scripts":{"build":"sh build.sh","examples":"http-server ./Examples"},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"repository":{"url":"git+https://github.com/KyroVibe/JoltPhysics.js.git","type":"git"},"_npmVersion":"10.8.1","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay to use for Synthesis.","directories":{},"_nodeVersion":"21.7.3","_hasShrinkwrap":false,"devDependencies":{"http-server":"^14.1.1","webidl-dts-gen":"^1.11.0"},"_npmOperationalInternal":{"tmp":"tmp/jolt-physics_0.24.1_1719437748313_0.0008761817494895574","host":"s3://npm-registry-packages"}},"0.31.0":{"name":"@barclah/jolt-physics","version":"0.31.0","description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay for use in Synthesis.","type":"module","main":"dist/jolt-physics.wasm-compat.js","types":"dist/jolt-physics.wasm-compat.d.ts","exports":{".":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./wasm":{"types":"./dist/jolt-physics.wasm.d.ts","default":"./dist/jolt-physics.wasm.js"},"./wasm-compat":{"types":"./dist/jolt-physics.wasm-compat.d.ts","default":"./dist/jolt-physics.wasm-compat.js"},"./asm":{"types":"./dist/jolt-physics.d.ts","default":"./dist/jolt-physics.js"},"./wasm-multithread":{"types":"./dist/jolt-physics.multithread.wasm.d.ts","default":"./dist/jolt-physics.multithread.wasm.js"},"./wasm-compat-multithread":{"types":"./dist/jolt-physics.multithread.wasm-compat.d.ts","default":"./dist/jolt-physics.multithread.wasm-compat.js"},"./jolt-physics.wasm.wasm":"./dist/jolt-physics.wasm.wasm","./jolt-physics.multithread.wasm.wasm":"./dist/jolt-physics.multithread.wasm.wasm","./package.json":"./package.json"},"scripts":{"build":"sh build.sh","examples":"node serveexamples/serveexamples.cjs"},"homepage":"https://github.com/jrouwe/JoltPhysics.js","repository":{"type":"git","url":"git+https://github.com/jrouwe/JoltPhysics.js.git"},"author":{"name":"barclah"},"license":"MIT","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"devDependencies":{"express":"^4.19.2","webidl-dts-gen":"^1.11.0"},"_id":"@barclah/jolt-physics@0.31.0","gitHead":"f4ce216160d19ecc8dc3f2b07629927ff30356f8","bugs":{"url":"https://github.com/jrouwe/JoltPhysics.js/issues"},"_nodeVersion":"23.1.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-MmHFjh2LZIziUjqquT0XzXjNKHsWStlOG+dNnyPKhXAWnHSREHxKKfpt4HZlFcFxo9NAn65zXwRyw8WsBO72Jw==","shasum":"4968aba4cee260bc04b0f5fa06459e1d5bae5230","tarball":"https://registry.npmjs.org/@barclah/jolt-physics/-/jolt-physics-0.31.0.tgz","fileCount":21,"unpackedSize":20936962,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCedxHl9OMl9cpxruddsmBJlx3osjblQDeUSYW/znYTrQIhAJUlM50GmYrhdAFLJCEdnoazD3nrUT6YnYOLhwU5dntc"}]},"_npmUser":{"name":"barclah","email":"hunter.barclay18@gmail.com"},"directories":{},"maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jolt-physics_0.31.0_1736384289469_0.16252502803761226"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-29T20:14:54.622Z","modified":"2025-01-09T00:58:09.955Z","0.16.0":"2024-02-29T20:14:55.037Z","0.16.1":"2024-02-29T20:41:09.376Z","0.16.2":"2024-03-08T21:04:59.164Z","0.19.0":"2024-03-14T19:42:34.198Z","0.19.1":"2024-03-14T20:40:50.133Z","0.19.2":"2024-04-02T20:40:18.903Z","0.19.3":"2024-04-02T21:05:29.579Z","0.24.0":"2024-06-26T07:01:01.725Z","0.24.1":"2024-06-26T21:35:48.553Z","0.31.0":"2025-01-09T00:58:09.747Z"},"bugs":{"url":"https://github.com/jrouwe/JoltPhysics.js/issues"},"author":{"name":"barclah"},"license":"MIT","homepage":"https://github.com/jrouwe/JoltPhysics.js","keywords":["physics","physics-engine","physics-simulation","simulation","game-engine","vr","game-development","webassembly","wasm"],"repository":{"type":"git","url":"git+https://github.com/jrouwe/JoltPhysics.js.git"},"description":"A WebAssembly port of JoltPhysics, a rigid body physics and collision detection library, suitable for games and VR applications. Forked by Hunter Barclay for use in Synthesis.","maintainers":[{"name":"barclah","email":"hunter.barclay18@gmail.com"}],"readme":"[![Version](https://img.shields.io/npm/v/jolt-physics)](https://www.npmjs.com/package/jolt-physics)\n[![Downloads](https://img.shields.io/npm/dt/jolt-physics.svg)](https://www.npmjs.com/package/jolt-physics)\n[![Bundle Size](https://img.shields.io/bundlephobia/min/jolt-physics?label=bundle%20size)](https://bundlephobia.com/result?p=jolt-physics)\n[![Build Status](https://github.com/jrouwe/JoltPhysics.js/actions/workflows/build-and-deploy.yml/badge.svg)](https://github.com/jrouwe/JoltPhysics.js/actions/)\n\n# JoltPhysics.js\n\nThis project enables using [Jolt Physics](https://github.com/jrouwe/JoltPhysics) in JavaScript.\n\n## Demos\n\nGo to the [demos page](https://jrouwe.github.io/JoltPhysics.js/) to see the project in action.\n\n## Using\n\nThis library comes in 5 flavours:\n- `wasm-compat` - A WASM version with the WASM file (encoded in base64) embedded in the bundle\n- `wasm` - A WASM version with a separate WASM file\n- `asm` - A JavaScript version that uses [asm.js](https://developer.mozilla.org/en-US/docs/Games/Tools/asm.js)\n- `wasm-compat-multithread` - Same as `wasm-compat` but with multi threading enabled.\n- `wasm-multithread` - Same as `wasm` but with multi threading enabled.\n\nSee [falling_shapes.html](Examples/falling_shapes.html) for an example on how to use the library.\n\n### Documentation\n\nThe interface of the library is the same as the C++ interface of JoltPhysics, this means that you can use the [C++ documentation](https://jrouwe.github.io/JoltPhysics/) as reference.\n\nAlmost the entire Jolt interface has been exposed. Check [JoltJS.idl](https://github.com/jrouwe/JoltPhysics.js/blob/main/JoltJS.idl) if a particular interface has been exposed. If not, edit [JoltJS.idl](https://github.com/jrouwe/JoltPhysics.js/blob/main/JoltJS.idl) and [JoltJS.h](https://github.com/jrouwe/JoltPhysics.js/blob/main/JoltJS.h) and send a pull request, or open an issue.\n\n### Installation\n\nThis library is distributed as ECMAScript modules on npm:\n\n```sh\nnpm install jolt-physics\n```\n\nThe different flavours are available via entrypoints on the npm package:\n\n```js\n// WASM embedded in the bundle\nimport Jolt from 'jolt-physics';\nimport Jolt from 'jolt-physics/wasm-compat';\n\n// WASM\nimport Jolt from 'jolt-physics/wasm';\n\n// asm.js\nimport Jolt from 'jolt-physics/asm';\n\n// WASM embedded in the bundle, multithread enabled\nimport Jolt from 'jolt-physics/wasm-compat-multithread';\n\n// WASM, multithread enabled\nimport Jolt from 'jolt-physics/wasm-multithread';\n```\n\nYou can also import esm bundles with unpkg:\n\n```html\n<script type=\"module\">\n    // import latest\n    import Jolt from 'https://www.unpkg.com/jolt-physics/dist/jolt-physics.wasm-compat.js';\n\n    // or import a specific version\n    import Jolt from 'https://www.unpkg.com/jolt-physics@x.y.z/dist/jolt-physics.wasm-compat.js';\n</script>\n```\n\nWhere ```x.y.z``` is the version of the library you want to use.\n\n### Using the WASM flavour\n\nTo use the `wasm` flavour, you must either serve the WASM file `jolt-physics.wasm.wasm` alongside `jolt-physics.wasm.js`, or use a bundler that supports importing an asset as a url, and tell Jolt where to find the WASM file.\n\nTo specify where to retrieve the WASM file from, you can pass a `locateFile` function to the default export of `jolt-physics/wasm`. For example, using [vite](https://vitejs.dev/) this would look like: \n\n```js\nimport initJolt from \"jolt-physics\";\nimport joltWasmUrl from \"jolt-physics/jolt-physics.wasm.wasm?url\";\n\nconst Jolt = await initJolt({\n  locateFile: () => joltWasmUrl,\n});\n```\n\nFor more information on the `locateFile` function, see the [Emscripten documentation](https://emscripten.org/docs/api_reference/module.html#Module.locateFile).\n\n## Building\n\nThis project has only been compiled under Linux.\n\n* Install [emscripten](https://emscripten.org/) and ensure that its environment variables have been setup\n* Install [cmake](https://cmake.org/)\n* Run ```./build.sh Distribution``` for the optimized build, ```./build.sh Debug``` for the debug build.\n\nAdditional options that can be provided to ```build.sh```:\n\n* ```-DENABLE_MEMORY_PROFILER=ON``` will enable memory tracking to detect leaks.\n* ```-DDOUBLE_PRECISION=ON``` will enable the double precision mode. This allows worlds larger than a couple of km.\n* ```-DENABLE_SIMD=ON``` will enable SIMD instructions. Safari 16.4 was the last major browser to support this (in March 2023).\n* ```-DBUILD_WASM_COMPAT_ONLY=ON``` speeds up the build by only compiling the WASM compat version which the examples use.\n\n## Running\n\nBy default the examples use the WASM compat version of Jolt. This requires serving the html file using a web server rather than opening the html file directly.\n\nOpen a terminal in this folder and run the following commands:\n\n```\nnpm install\nnpm run examples\n```\n\nThen navigate to: http://localhost:3000/\n\nIf you need to debug the C++ code take a look at [WASM debugging](https://developer.chrome.com/blog/wasm-debugging-2020/).\n\n## Memory Management\n\nThe samples are very bad at cleaning up after themselves (basically they don't). When using emscripten to port a library to WASM, [nothing is cleaned up](https://emscripten.org/docs/porting/connecting_cpp_and_javascript/WebIDL-Binder.html#using-c-classes-in-javascript) automatically, so everything you newed with ```new Jolt.XXX``` needs to be destroyed by ```Jolt.destroy(...)```.\n\nOn top of this, Jolt uses reference counting for a number of its classes (everything that inherits from [RefTarget](https://jrouwe.github.io/JoltPhysics/class_ref_target.html)). The most important classes are:\n\n* ShapeSettings\n* Shape\n* ConstraintSettings\n* Constraint\n* PhysicsMaterial\n* GroupFilter\n* SoftBodySharedSettings\n* VehicleCollisionTester\n* VehicleController\n* WheelSettings\n* CharacterBaseSettings\n* CharacterBase\n\nReference counting objects start with a reference count of 0. If you want to keep ownership over the object, you need to call ```object.AddRef()```, this will increment the reference count. If you want to release ownership you call ```object.Release()```, this will decrement the reference count and if the reference count reaches 0 the object will be destroyed. If, after newing, you pass a reference counted object on to another object (e.g. a ShapeSettings to a CompoundShapeSettings or a Shape to a Body) then that other object will take a reference, in that case it is not needed take a reference yourself beforehand so you can skip the calls to ```AddRef/Release```. Note that it is also possible to do ```new Jolt.XXX``` followed by ```Jolt.destroy(...)``` for a reference counted object if no one took a reference.\n\nThe Body class is also a special case, it is destroyed through BodyInterface.DestroyBody(body.GetID()) (which internally destroys the Body).\n\nAlmost everything else can be destroyed straight after it has been passed to Jolt. [An example that shows how to properly clean up using Jolt is here](https://github.com/jrouwe/JoltPhysics.js/blob/main/Examples/proper_cleanup.html).\n\n## Projects using JoltPhysics.js\n\n* [Babylon.js plugin](https://github.com/PhoenixIllusion/babylonjs-jolt-physics-plugin) - A plugin that replaces the default physics engine with Jolt.\n* [GDevelop](https://gdevelop.io/) - An Open-source, cross-platform 2D/3D/multiplayer game engine. See [announcement](https://github.com/4ian/GDevelop/releases/tag/v5.5.220).\n* [react-three-jolt](https://github.com/pmndrs/react-three-jolt) - Wraps Jolt to make it easy to use in react-three-fiber.\n* [r3f-jolt](https://github.com/sajal353/r3f-jolt) - Another wrapper for react-three-fiber.\n\n## License\n\nThe project is distributed under the [MIT license](LICENSE).\n","readmeFilename":"README.md"}