You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey all, I am currently building a pinball project which uses btHingeConstraints on the flippers. I originally had it working with a three mesh with BoxBufferGeometry to test, but now I am cloning geometry from a loaded GLTF to a new mesh with BufferGeometry and now the motor won't rotate to turn the flippers. Are there limitations in using BufferGeometries as opposed tgo BoxBufferGeometries in these cases?
Just to note, I am creating the hinge constraints when the gltf has loaded, so trying to declare before the geometry is available isn't the problem, and the geometry is being created correctly and positioning correctly on the hinge.
cheers
The text was updated successfully, but these errors were encountered:
If you want concave dynamic shape in 3d mesh, as an option, atfirst make some triangles form buffergeometry for example - btConvexTriangleMeshShape by set .addTriangle(Ammo.btVector3) then you can build different shape by using btConvexTriangleMeshShape, if dinamic shape - btCompoundShape. if static - btBvhTriangleMeshShape
Hey all, I am currently building a pinball project which uses btHingeConstraints on the flippers. I originally had it working with a three mesh with BoxBufferGeometry to test, but now I am cloning geometry from a loaded GLTF to a new mesh with BufferGeometry and now the motor won't rotate to turn the flippers. Are there limitations in using BufferGeometries as opposed tgo BoxBufferGeometries in these cases?
Just to note, I am creating the hinge constraints when the gltf has loaded, so trying to declare before the geometry is available isn't the problem, and the geometry is being created correctly and positioning correctly on the hinge.
cheers
The text was updated successfully, but these errors were encountered: