Fix for latest nightly build (27.07.2025)

This commit is contained in:
SDraw 2025-07-27 22:30:33 +03:00
parent 713d89565b
commit 6b0399f182
No known key found for this signature in database
GPG key ID: BB95B4DAB2BB8BB5
14 changed files with 102 additions and 105 deletions

View file

@ -149,7 +149,7 @@ namespace ml_ppu
Vector3 l_armPos = (l_avatarMatInv * m_armLeft.GetMatrix()).GetPosition();
m_collider = new GameObject("[Collider]").AddComponent<CapsuleCollider>();
m_collider.gameObject.layer = CVRLayers.PlayerLocal;
m_collider.gameObject.layer = CVRLayers.PassPlayer;
m_collider.transform.parent = this.transform;
m_collider.isTrigger = true;
m_collider.height = Vector3.Distance(l_hipsPos, new Vector3(0f, l_armPos.y, l_armPos.z));