Default friction is infinity;

Re-apply bug behavior
This commit is contained in:
bjorn 2022-08-12 23:30:13 -07:00
parent efdbc7f7ba
commit d69ec7bff0
1 changed files with 1 additions and 1 deletions

View File

@ -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);