yep
This commit is contained in:
parent
ce47f01375
commit
63395d3928
@ -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
|
//hovering above the surface 0 units is not intersecting. you will fall into it just fine
|
||||||
body.position=point;
|
body.position=point;
|
||||||
//calculate contacts and determine the actual state
|
//calculate contacts and determine the actual state
|
||||||
recalculate_touching(body);
|
recalculate_touching(state,data,models);
|
||||||
point
|
point
|
||||||
}
|
}
|
||||||
fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsModels,hitbox_mesh:&HitboxMesh,v:Planar64Vec3)->bool{
|
fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsModels,hitbox_mesh:&HitboxMesh,v:Planar64Vec3)->bool{
|
||||||
|
Loading…
Reference in New Issue
Block a user