From d69ec7bff07f7cbcb1b5c82968986720f677bde0 Mon Sep 17 00:00:00 2001 From: bjorn Date: Fri, 12 Aug 2022 23:30:13 -0700 Subject: [PATCH] Default friction is infinity; Re-apply bug behavior --- src/modules/physics/physics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/physics/physics.c b/src/modules/physics/physics.c index bc448d84..8ca0f09b 100644 --- a/src/modules/physics/physics.c +++ b/src/modules/physics/physics.c @@ -392,7 +392,7 @@ Collider* lovrColliderCreate(World* world, float x, float y, float z) { collider->ref = 1; collider->body = dBodyCreate(world->id); collider->world = world; - collider->friction = 0; + collider->friction = INFINITY; collider->restitution = 0; collider->tag = NO_TAG; dBodySetData(collider->body, collider);