Comments (3)
is there a ways use cannonjs directly around and with use-cannon?
from use-cannon.
Cannon doesn't support CCD right now.
Someone created a WIP implementation for CCD on the original repo, but afaik this hasn't been picked up again.
from use-cannon.
Regarding using cannon directly, because @react-three/cannon
runs cannon in a web worker, all objects are created in the web worker and can't be interfaced with directly.
If you find yourself needing to add your own scripts or use other cannon libraries, you may be better off not using @react-three/cannon
but using cannon directly.
See this comment for what that might look like: #63 (comment)
You can track that issue to follow CCD support being added to cannon-es
(pmndrs/cannon-es#93)
If/when CCD is added, @react-three/cannon
can be updated to support it.
In the meantime, I think it makes sense to close this issue.
If you're looking for help with anything else, check out our discord! 🙂
from use-cannon.
Related Issues (20)
- Can't show in android browser. HOT 1
- useCannon/usePhysics hook to get world state HOT 1
- docs: broken examples url
- Add body existence check in step function HOT 7
- Is it possible to use cannon-worker-api with vanilla cannon-es? HOT 1
- GET http://127.0.0.1:5173/node_modules/.vite/deps/@react-three_cannon.js?v=78dbe0b1 net::ERR_ABORTED 504 (Gateway Timeout) HOT 2
- Jest cannot find module '@react-three/cannon' HOT 4
- InstanceMesh Performance Issue
- Detect collision between two kinematic objects HOT 3
- Can't use react-cannon with other libraries
- Deprecated function example
- Circle and Cylinder sinks into Plane HOT 1
- Doesn't work with Remix.run
- Convex collider hit another convex collider makes the screen froze
- mesh controlled by useBox doesn't respect its parent group tag properties
- useTrimesh scale HOT 2
- Android browser compatibility lower than Chrome80 HOT 1
- Can't set amount of segments for shapes within compoundBody
- Suggestion: 'Inverted Collider' Option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from use-cannon.