forked from bartvdbraak/blender
disabled restitution in the new iterative contact constraint.
This commit is contained in:
parent
7c68db9bb7
commit
6f974329ca
@ -33,7 +33,8 @@ SimdScalar contactTau = .02f;//0.02f;//*0.02f;
|
||||
|
||||
SimdScalar restitutionCurve(SimdScalar rel_vel, SimdScalar restitution)
|
||||
{
|
||||
return restitution * GEN_min(1.0f, rel_vel / ContactThreshold);
|
||||
return 0.f;
|
||||
//return restitution * GEN_min(1.0f, rel_vel / ContactThreshold);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user