Welcome, Guest

Author Topic: Better Collision Mechanics  (Read 2138 times)

Utopastoo

  • **
  • Posts: 11
Better Collision Mechanics
« on: November 20, 2014, 03:22:10 PM »
If you load up the "Two Dice" simulation, you watch them get closer, and expect them to bounce off of eachother. This is not what happens. One of the dice simply vanishes into the other. I think that collision mechanics could be pretty easily improved by better simulation of ultra-low-energy collisions, like two dice.

Greenleaf

  • Thomas Grønneløv
  • Development Team
  • *****
  • Posts: 211
Re: Better Collision Mechanics
« Reply #1 on: November 20, 2014, 04:29:48 PM »
Two dices collides differently than planets do.
For one, they are not spherical. For another the energy released (during small collisions) is not enough to visible deform or fragment or melt the dices.
Since planetary collisions are the prime focus right now, that is where we put our effort.


The previous version of US used a third party rigid body collision system which was used throughout. That meant that dices looked right and planets certainly did not.


However... we will be adding support for smaller scale collisions of irregular rigid bodies. It is certainly on the todo list, but this time we will be writing the collision code from scratch ourselves to better integrate with other scales. That takes longer than five minutes and a snack, so we will do it when we get to that point.