Comments (4)
Thanks for the suggestion.
Your monkey patch makes the cross product evaluate to 0, and the tangents as well, thus disabling the compute tangents part of the Narrowphase? I don't know exactly what it's affecting.
Have you tried adjusting the contact equation and other world parameters instead? These ones:
cannon-es/examples/container.html
Lines 128 to 140 in 2824846
from cannon-es.
@cx20 Looks like by using those settings, the dominos behave like your original example.
Check out the live demo here: https://codesandbox.io/s/r3f-cannon-dominos-forked-ds0kv?file=/src/App.js
from cannon-es.
@marcofugaro Thank you for telling me the sample. My sample seemed to improve by changing the frictionEquationStiffness
parameter.
https://codesandbox.io/s/r3f-cannon-dominos-forked-ds0kv?file=/src/App.js:722-752
frictionEquationStiffness: 1e2
from cannon-es.
Thank you for letting me know those parameters.
I will have to check the parameters a little more carefully, but I tried a little and didn't get the results I was expecting.
from cannon-es.
Related Issues (20)
- Documentation question: After getting the red box wireframe working, and want to get gray boxes bouncing...
- ConvexPolyhedron: Tetrahedron working vs. not working HOT 3
- DisableMotor() method does not work in HingeConstraint. HOT 1
- RaycastVehicle: We have twice call updateWheelTransformWorld in updateWheelTransform(from updateVehicle) and then in castRay
- How can I get a list of bodies touching the line between two vectors?
- getVelocityAtWorldPoint() requires result parameter, despite returning result HOT 1
- Documentation for vectorToWorldFrame() incorrect
- Unknown Force is applied on some vertically stacked cubes on straight plane? HOT 3
- What are indices parameters of CANNON.Trimesh function?
- I added a model, I don't know why there is no physical characteristics
- About the basic parameter units of RaycastVehicle in canon-es
- ConvexPolyhedron isn't working for certain vertices
- The sphere flies away after a few seconds while the tab is not active HOT 1
- Implementation of third person controller. How to prevent character from rotating when moving at an angle to an incline HOT 1
- Event `collide` is only thrown once when stacked objects enter trigger HOT 1
- Make code with examples more accessible
- why the fixed body position is updated? HOT 1
- How to know when world.raycastAll has fully resolved HOT 1
- BUG: RaycastAll fails to detect sleeping and static bodies at expected y position HOT 2
- Request for Soft Body Physics Feature in Cannon-es HOT 2
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 cannon-es.