Masses now have a damping parameter that updates the velocity of the masses as mass.vel *= mass.damping.
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.
Removed breakpoint printing statement in sim.cu because it kept poping up when sim.pause is invoked without setting a breakpoint explicitly.
Edge damping is added. spring_force += some factor to reduce wobbling when breathing cubes are implemented by changing the rest length of springs.
Fixed a bug related to not setting GRAPHICS. specifically, need to wrap the setViewPort methods.
mass.vel *= mass.damping
.ContactPlane
has normal directionVec(0,0,1)
. The static friction and kinetic friction coefficients are currently set as__device__
parameters like the normal reaction force.sim.cu
because it kept poping up whensim.pause
is invoked without setting a breakpoint explicitly.spring_force += some factor
to reduce wobbling when breathing cubes are implemented by changing the rest length of springs.GRAPHICS
. specifically, need to wrap thesetViewPort
methods.