3D Domino boxes collision not realistic

Started by
3 comments, last by Etny 3 years, 8 months ago

Hi,

I am trying to mimic an old project in OpenGL I worked on many years ago. The video below at 1:00 displays the old project where all of the dominos hit each other in a circle and then hit the surface. My new project which is the picture of green boxes below uses most of the same code but only three dominos fall and then it stops. I have tried different frictions to try and stop the inertial sliding effect in the new project. I also noticed the dominos don't fall as fast when hit. Is there something wrong with my inertial tensor or friction or something else?

Advertisement

Do you have some code to share? Judging from just the picture, incorrect inertia would seem like the most likely problem.

@Etny Thank you for the reply! I thought no one would reply so I never posted the answer. The solution was that I was trying to convert three angles to a matrix by using Axis Angle and I needed to use Euler to matrix

@Jonathan2006 Glad to hear you figured it out! Good luck with your endeavours.

This topic is closed to new replies.

Advertisement