Removed PlayerLocal layer usage to avoid possible world maps problems

This commit is contained in:
SDraw 2023-04-11 10:17:32 +03:00
parent 9a262b2ded
commit 92a058a0ac
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
2 changed files with 1 additions and 4 deletions

View file

@ -204,7 +204,6 @@ namespace ml_prm
Collider l_collider = l_puppetTransforms[i].GetComponent<Collider>();
if(l_collider != null)
{
l_collider.gameObject.layer = LayerMask.NameToLayer("PlayerLocal");
Physics.IgnoreCollision(l_collider, MovementSystem.Instance.proxyCollider, true);
Physics.IgnoreCollision(l_collider, MovementSystem.Instance.controller, true);
Physics.IgnoreCollision(l_collider, MovementSystem.Instance.forceCollider, true);