mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 13:36:29 +02:00
Temporarily disabling DAMPING and non-unity ELASTICITY during particle-particle collisions
This commit is contained in:
parent
71e5de8420
commit
c4c0c389ae
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ void ParticleCollisionSystem::updateCollisionWithVoxels(Particle* particle) {
|
|||
void ParticleCollisionSystem::updateCollisionWithParticles(Particle* particleA) {
|
||||
glm::vec3 center = particleA->getPosition() * (float)TREE_SCALE;
|
||||
float radius = particleA->getRadius() * (float)TREE_SCALE;
|
||||
const float ELASTICITY = 0.4f;
|
||||
const float DAMPING = 0.0f;
|
||||
//const float ELASTICITY = 0.4f;
|
||||
//const float DAMPING = 0.0f;
|
||||
const float COLLISION_FREQUENCY = 0.5f;
|
||||
glm::vec3 penetration;
|
||||
Particle* particleB;
|
||||
|
|
Loading…
Reference in a new issue