bodge surfs
This commit is contained in:
parent
ed70b7c484
commit
65b49d2726
@ -1294,7 +1294,7 @@ fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsM
|
|||||||
let mut culled=false;
|
let mut culled=false;
|
||||||
touching.contacts.retain(|contact|{
|
touching.contacts.retain(|contact|{
|
||||||
let n=contact_normal(models,hitbox_mesh,contact);
|
let n=contact_normal(models,hitbox_mesh,contact);
|
||||||
let r=n.dot(v).is_positive();
|
let r=(n.dot(v)>>52).is_positive();
|
||||||
if r{
|
if r{
|
||||||
culled=true;
|
culled=true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user