Compare commits
1 Commits
master
...
surf-bodge
| Author | SHA1 | Date | |
|---|---|---|---|
|
ab98633c51
|
@@ -1334,7 +1334,7 @@ fn set_velocity_cull(body:&mut Body,touching:&mut TouchingState,models:&PhysicsM
|
||||
let mut culled=false;
|
||||
touching.contacts.retain(|convex_mesh_id,face_id|{
|
||||
let n=contact_normal(models,hitbox_mesh,convex_mesh_id,*face_id);
|
||||
let r=n.dot(v).is_positive();
|
||||
let r=(n.dot(v)>>52).is_positive();
|
||||
if r{
|
||||
culled=true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user