Sphere to Sphere or partical Colition

  • Thread starter Thread starter Zezba
  • Start date Start date
  • Tags Tags
    Sphere
AI Thread Summary
The discussion centers on programming a collision method for spheres, emphasizing the need to prevent them from compressing like jello. The user has implemented basic interactions but seeks guidance on collision detection to avoid merging spheres. Suggestions include researching collision detection techniques commonly used in computer games and exploring concepts like simulated annealing for achieving a perfect crystal formation. The user is developing this for game programming and has shared visual examples and an executable file for reference. The conversation highlights the complexity of simulating realistic physics in game development.
Zezba
Messages
5
Reaction score
0
Im trying to program a perfect sphere to sphere colition method.
What I have so far is every sphere has a velocity force and location. I have every shpere interacting perfectly with each other, the only thing I want is for the spheres not to be able to become compresed like jello. Does anyone know of any sites that explane how to do anything related to this.
 
Physics news on Phys.org
Example

This is what I have or what it looks like:
SphereToSphereIs.jpg


This is what I whant to happen or it to look like:
SphereToSphereWant.jpg
 
Oh dear, you want an algorithm for the evolution of such a creature?
Sweet dreams..
 
OK dood...

Are you saying its imposible or somthin, because if you are I got to say you dount have much gut.
 
I don't think it will be that easy. To prevent the spheres from merging into each other you need some sort of collision detection. This has been used extensively in computer games, so you should be able to find something about it on the web. To get the spheres to form a perfect crystal is more tricky - in real life as well as in the simulation. You might want to look into 'simulated annealing'
 
Well at least someone knows what I am asking, thanks "chronon".
Im acculy doing this for game programing I jest thot it would be a good idea to try asking a physics ? on a physics forum.

Anyway here are is a nother pict:
Apliction.jpg


And here is the EXE of the pict at my geocities site:
Physics.zip
 
So I know that electrons are fundamental, there's no 'material' that makes them up, it's like talking about a colour itself rather than a car or a flower. Now protons and neutrons and quarks and whatever other stuff is there fundamentally, I want someone to kind of teach me these, I have a lot of questions that books might not give the answer in the way I understand. Thanks
Back
Top