Comments (1)
I dunno there's a lot of ways. if you get the matrix of the orientation of the object, you can get the x/y/z direction vectors, then if you have a 'up' direction, the axis dot up
is closest to 1 for the one that's up... (or -1 if that face is down, and the back up)
from cannon-es.
Related Issues (20)
- Low Gravity HOT 3
- when two bunny collide,my browser stuck,is there any way to make it behave smoothly HOT 5
- Deprecate fixedStep from World HOT 6
- Is it possible to import Cannon ES just like Cannon JS HOT 1
- how can i flip faceNormals? HOT 1
- Please, add Debug Drawer HOT 18
- Fixing the local axes orientation of an exported gltf model to get the correct quaternion coordinates
- Calling getVelocityAtWorldPoint yields Uncaught TypeError: worldPoint.vsub is not a function
- how to find a constraint ?
- console.log on ConvexPolyhedron.ts HOT 1
- Chaining Hinges behaviour
- [ Question ] Spheres going through body with mass equal zero
- penetrate explosion
- The movement of a spinning ball in cannon js has an unexpected deviation that depends on the direction of the movement itself
- can anyone help me about using webpack to use it in one js file ?
- 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
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.