From 63395d39282f6b7073269b55d564d3ce83641b7c Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 9 Aug 2024 16:09:51 -0700 Subject: [PATCH] yep --- src/physics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physics.rs b/src/physics.rs index 940db81..16f2ee7 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -1298,7 +1298,7 @@ fn set_position(body:&mut Body,touching:&mut TouchingState,point:Planar64Vec3)-> //hovering above the surface 0 units is not intersecting. you will fall into it just fine body.position=point; //calculate contacts and determine the actual state - recalculate_touching(body); + recalculate_touching(state,data,models); point } fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsModels,hitbox_mesh:&HitboxMesh,v:Planar64Vec3)->bool{