We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the release of https://package.elm-lang.org/packages/w0rm/elm-obj-file/latest there is an easy way to load TriangularMesh from Blender. elm-physics currently only supports Block3d (which is internally defined as a convex polyhedron).
TriangularMesh
Block3d
Collision algorithm is limited to convex shapes. There are several options to construct a convex polyhedron shape:
Point3d
Maybe
Shape
Nothing
While 1. and 2. are good because they make it impossible to create wrong shapes, they are computationally intensive.
Open question: what to do with the center of mass of a convex polyhedron. Shall it be calculated or provided by the user.
The text was updated successfully, but these errors were encountered:
Implemented in #97
Sorry, something went wrong.
No branches or pull requests
With the release of https://package.elm-lang.org/packages/w0rm/elm-obj-file/latest there is an easy way to load
TriangularMesh
from Blender. elm-physics currently only supportsBlock3d
(which is internally defined as a convex polyhedron).Collision algorithm is limited to convex shapes. There are several options to construct a convex polyhedron shape:
Point3d
TriangularMesh
ofPoint3d
and returns aMaybe
ofShape
(Nothing
if a shape isn’t convex)TriangularMesh
ofPoint3d
and returns aShape
While 1. and 2. are good because they make it impossible to create wrong shapes, they are computationally intensive.
Open question: what to do with the center of mass of a convex polyhedron. Shall it be calculated or provided by the user.
The text was updated successfully, but these errors were encountered: