cannon-es
office
Our great sponsors
cannon-es | office | |
---|---|---|
8 | 1 | |
1,676 | 10 | |
2.5% | - | |
4.2 | 0.0 | |
4 months ago | almost 3 years ago | |
TypeScript | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cannon-es
-
Help with chase camera
// ============ // part 2 // add base vehicle body // reference: https://github.com/pmndrs/cannon-es/blob/master/examples/rigid_vehicle.html // ============ const carBody = new CANNON.Body({ mass: 20, position: new CANNON.Vec3(0, 6, 0), shape: new CANNON.Box(new CANNON.Vec3(4, 0.5, 2)), });
-
Hello guys can someone help me with this? I'm trying to use the wireframe because I think I made an error when implementing the quaternion to my cube. I'm trying to use the debug tool. Do I need to import something with that? I already imported the Cannon.Js and everything works fine.
cannon.js hasn't been maintained for 7-8 years, the project lives on here https://github.com/pmndrs/cannon-es you import it like so
-
Drive a Tesla Cybertruck or literally any car on your browser with Threejs
Cannon-ES - 3D physics engine
-
Challenges of a web VR throwing game
Since I'm a big Poimandres fan I looked into react-xr, and it was very easy to get a first WebXR project up and running. Unfortunately, there are many dependencies in the ecosystem which slowed me down: react-xr is built on top of react-three-fiber which is built on top of Three.js, and physics is enabled by use-cannon which is built on top of cannon-es. For a long time I was running into issues and helping fix them with a couple of pull requests, and ultimately it was preventing me from working on the actual project. Still, Poimandres is a great community and I got a lot of inspiration from the content being shared in the discord.
-
Learn Three.js + Cannon.js while building a 3D game with physics (FREE course)
This was the post I was remembering, see repo here: https://github.com/pmndrs/cannon-es
-
[AskJS] What is your favorite JavaScript physics library?
btw canon has been abandoned for years. it continues to receive support on here: https://github.com/pmndrs/cannon-es which next to bug fixes also gives it types and esm/tree-shaking.
office
-
Challenges of a web VR throwing game
The result is a virtual reality experience built with BabylonJS which you can play at https://office.wilcoschoneveld.com/. In this post, I would like to share the challenges I ran into while building it. First, I describe the development process by talking about the technology used, the game plan, level design, and physics work. Next, I dive deep into my attempts to create a great user experience for throwing objects in VR. Finally, I present some tips for debugging a web VR project like mine. Also, the game is open source and can be found on GitHub. Thanks for taking a look!
What are some alternatives?
ammo.js - Direct port of the Bullet physics engine to JavaScript using Emscripten
WebXR-emulator-extension - WebXR emulator extension
use-cannon - 👋💣 physics based hooks for @react-three/fiber
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
react-xr - 🤳 VR/AR with react-three-fiber
cannon-es-debugger - Wireframe debugger for use with cannon-es https://github.com/react-spring/cannon-es
react-three-fiber - 🇨🇭 A React renderer for Three.js
raycast-vehicle-engine - Drive your favorite 3D car in your threejs world just by uploading the GLTF Model and generating code all on the browser itself!
three.js - JavaScript 3D Library.
racing-game - 🏎 Open source racing game developed by everyone willing