mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-05 03:19:23 +00:00
Fix for latest nightly build (27.07.2025)
This commit is contained in:
parent
713d89565b
commit
6b0399f182
14 changed files with 102 additions and 105 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue