Skip to content

Commit f3e1f34

Browse files
committed
Fix physics bugs on x64
Thanks to Giperion
1 parent 2f3d00d commit f3e1f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrPhysics/Physics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ IC static int CollideIntoGroup(
248248
}
249249

250250
if (pushing_neg)
251-
surface.mu = dInfinity;
251+
surface.mu = flt_max; // dInfinity
252252
if (do_collide && collided_contacts < MAX_CONTACTS)
253253
{
254254
++collided_contacts;

0 commit comments

Comments
 (0)