Sphere to Sphere or partical Colition

  • Context: Undergrad 
  • Thread starter Thread starter Zezba
  • Start date Start date
  • Tags Tags
    Sphere
Click For Summary

Discussion Overview

The discussion revolves around programming a method for simulating collisions between spheres in a game environment. Participants explore the challenges of preventing spheres from compressing upon collision and seek advice on algorithms and techniques relevant to collision detection and simulation.

Discussion Character

  • Technical explanation
  • Homework-related
  • Debate/contested

Main Points Raised

  • One participant is attempting to program a perfect sphere-to-sphere collision method, focusing on maintaining the integrity of the spheres without compression.
  • Another participant suggests that collision detection is necessary to prevent spheres from merging, referencing its common use in computer games.
  • A participant mentions the complexity of achieving a perfect crystal formation of spheres, suggesting the exploration of 'simulated annealing' as a potential approach.
  • There is a mix of encouragement and skepticism regarding the feasibility of the proposed simulation, with some participants questioning the difficulty of the task.

Areas of Agreement / Disagreement

Participants express varying degrees of skepticism about the ease of achieving the desired simulation, with some agreeing on the need for collision detection while others highlight the challenges involved. The discussion remains unresolved regarding the best approach to take.

Contextual Notes

Participants have not fully defined the parameters of their simulation, and there may be assumptions about the physics involved that are not explicitly stated. The discussion also lacks detailed mathematical formulations or specific algorithms.

Who May Find This Useful

Game developers, programmers interested in physics simulations, and those exploring collision detection algorithms may find this discussion relevant.

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
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 21 ·
Replies
21
Views
4K
Replies
19
Views
3K
  • · Replies 25 ·
Replies
25
Views
10K
  • · Replies 2 ·
Replies
2
Views
3K