You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
-Fix problem in OWC logic closes #11357
-Fix problem with kinematic move and disabled shapes, in both 2D and 3D
This commit is contained in:
@@ -169,7 +169,7 @@ void Physics2DServerSW::_shape_col_cbk(const Vector2 &p_point_A, const Vector2 &
|
||||
cbk->invalid_by_dir++;
|
||||
return;
|
||||
}
|
||||
if (cbk->valid_dir.dot((p_point_A - p_point_B).normalized()) < 0.7071) {
|
||||
if (cbk->valid_dir.dot((p_point_A - p_point_B).normalized()) < 0.7071) { //sqrt(2)/2.0
|
||||
cbk->invalid_by_dir++;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user