Commit 9e94142b authored by Arash HABIBI's avatar Arash HABIBI
Browse files

comment

parent a6bee159
......@@ -747,7 +747,9 @@ void MovingObstacle::update()
normal += v_obst * ((d1-d2)/(5*sum_of_dists));
// Le facteur 5 est là seulement pour diminuer l'influence de la composante tangentielle
normal.normalize();
forces[dd] -= force_value * normal;
// forces[dd] -= force_value * normal;
forces[dd] += VEC3(100000000,0,0);
// This force is not symmetrically applied
// We assume that a homologous vertex in the other obstacle
// is also intersecting the current obstacle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment