load mesh data and structure meshes
This commit is contained in:
1 parent
5b9d1dd6eb
commit
840dc83987
1 file changed
+1
-1
@@ -23,7 +23,7 @@ public class Mesh {
|
||||
public boolean MeshCollides(Line2D line, float charHeight, float charY){
|
||||
|
||||
//check if movement path intersects this mesh
|
||||
if(!this.BoundsCollides(line))
|
||||
if(!this.BoundsCollides(line) && !boundsRect.contains(line.getP1()) && !boundsRect.contains(line.getP2()))
|
||||
return false;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user