Edit player collisions
This commit is contained in:
		@@ -216,10 +216,10 @@ public class PlayerController : MonoBehaviour
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if (other.GetContact(0).normal == other.transform.forward
 | 
					        if (other.GetContact(0).normal == other.transform.forward
 | 
				
			||||||
                || other.GetContact(0).normal == -other.transform.forward
 | 
					                || other.GetContact(0).normal == -other.transform.forward
 | 
				
			||||||
                || other.GetContact(0).normal == -other.transform.right
 | 
					 | 
				
			||||||
                || other.GetContact(0).normal == other.transform.right
 | 
					 | 
				
			||||||
                || (other.GetContact(0).normal != -other.transform.up
 | 
					                || (other.GetContact(0).normal != -other.transform.up
 | 
				
			||||||
                    && other.GetContact(0).normal != other.transform.up)
 | 
					                    && other.GetContact(0).normal != other.transform.up
 | 
				
			||||||
 | 
					                    && other.GetContact(0).normal != -other.transform.right
 | 
				
			||||||
 | 
					                    && other.GetContact(0).normal != other.transform.right)
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
@@ -268,10 +268,10 @@ public class PlayerController : MonoBehaviour
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            if (other.GetContact(0).normal == other.transform.forward
 | 
					            if (other.GetContact(0).normal == other.transform.forward
 | 
				
			||||||
                || other.GetContact(0).normal == -other.transform.forward
 | 
					                || other.GetContact(0).normal == -other.transform.forward
 | 
				
			||||||
                || other.GetContact(0).normal == -other.transform.right
 | 
					 | 
				
			||||||
                || other.GetContact(0).normal == other.transform.right
 | 
					 | 
				
			||||||
                || (other.GetContact(0).normal != -other.transform.up
 | 
					                || (other.GetContact(0).normal != -other.transform.up
 | 
				
			||||||
                    && other.GetContact(0).normal != other.transform.up)
 | 
					                    && other.GetContact(0).normal != other.transform.up
 | 
				
			||||||
 | 
					                    && other.GetContact(0).normal != -other.transform.right
 | 
				
			||||||
 | 
					                    && other.GetContact(0).normal != other.transform.right)
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                return;
 | 
					                return;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user