Search found 5 matches

by mali28
Thu Aug 23, 2018 5:37 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Youngs modulus for collision objects
Replies: 0
Views: 27848

Youngs modulus for collision objects

Which collision model is used for collision bodies? Is it the Hertz Mindlin contact model? Objects are allowed to overlap in the above model and the degree of overlapping depends on the Young's modulus. How can I specify the Young's modulus of collision objects? I could only find restitution coeffic...
by mali28
Sun Aug 12, 2018 5:57 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to import stl file and make it a rigid body
Replies: 8
Views: 9279

Re: How to import stl file and make it a rigid body

I have used the following code to make it a rigid body: btDefaultMotionState* motionState = new btDefaultMotionState(btTransform(btQuaternion(0,0,0,1), btVector3(0,-1,0))); btRigidBody::btRigidBodyConstructionInfo rigidBodyCI( 10, // mass motionState, // initial position shape, // collision shape of...
by mali28
Sat Aug 11, 2018 4:01 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to import stl file and make it a rigid body
Replies: 8
Views: 9279

Re: How to import stl file and make it a rigid body

Thank you for your reply. I can not find any example code for addRigidBody() can you please send me a link?
by mali28
Fri Aug 10, 2018 4:32 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to import stl file and make it a rigid body
Replies: 8
Views: 9279

Re: How to import stl file and make it a rigid body

Thank you for your reply. I am using visual studio for compiling. I have slightly modified the original code in the example folder (demo) to add collision bodies and also import the stl file. The screenshot of the output is below. I am using the following code to import and display the stl file: Imp...
by mali28
Fri Aug 10, 2018 3:14 pm
Forum: General Bullet Physics Support and Feedback
Topic: How to import stl file and make it a rigid body
Replies: 8
Views: 9279

How to import stl file and make it a rigid body

Hello I am new to bullet physics. I want to import stl (3d geometry) file as a rigid body. I am able to import the file but the particles do not recognise the imported stl geometry and pass through it. I want to collide the particles with imported geometry. Please tell me the code to import the stl ...