jacobaustin123 / Titan

A high-performance CUDA-based physics simulation sandbox for soft robotics and reinforcement learning.
https://jacobaustin123.github.io/Titan
Other
96 stars 21 forks source link

Several changes and bug fixes #11

Closed TK-21st closed 5 years ago

TK-21st commented 5 years ago
  1. Masses now have a damping parameter that updates the velocity of the masses as mass.vel *= mass.damping.
  2. Friction is implemented but currently assumes that the ContactPlane has normal direction Vec(0,0,1). The static friction and kinetic friction coefficients are currently set as __device__ parameters like the normal reaction force.
  3. Removed breakpoint printing statement in sim.cu because it kept poping up when sim.pause is invoked without setting a breakpoint explicitly.
  4. Edge damping is added. spring_force += some factor to reduce wobbling when breathing cubes are implemented by changing the rest length of springs.
  5. Fixed a bug related to not setting GRAPHICS. specifically, need to wrap the setViewPort methods.