contact force is now Zero by default
This commit is contained in:
parent
a1add96b9b
commit
2f830ce308
|
@ -36,7 +36,7 @@ Vector _internal_calculate_contact_force(RigidBody* self, Contact* contact) {
|
|||
const float damping = 0.0;
|
||||
const float push = vdotf(normal, velocity);
|
||||
|
||||
return vsubf(vmulff(normal, elasticity * fmaxf(1.0, -push)), vmulff(normal, damping * fminf(0.0, push)));
|
||||
return ZeroVector; //vsubf(vmulff(normal, elasticity * fmaxf(1.0, -push)), vmulff(normal, damping * fminf(0.0, push)));
|
||||
}
|
||||
|
||||
static inline
|
||||
|
|
Loading…
Reference in a new issue