From 14e01e692e1783ef823cda33ec031f6dfed50e4b Mon Sep 17 00:00:00 2001 From: SDraw Date: Sun, 24 Sep 2023 18:03:47 +0300 Subject: [PATCH] Rigidbodies layer change --- README.md | 2 +- ml_prm/Properties/AssemblyInfo.cs | 2 +- ml_prm/RagdollController.cs | 1 + ml_prm/ml_prm.csproj | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 971eeda..c33cc9c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Merged set of MelonLoader mods for ChilloutVR. | [Leap Motion Extension](/ml_lme/README.md)| ml_lme | 1.4.2 [:arrow_down:](../../releases/latest/download/ml_lme.dll)| ✔ Yes | | [Pickup Arm Movement](/ml_pam/README.md)| ml_pam | 1.0.7 [:arrow_down:](../../releases/latest/download/ml_pam.dll)| ✔ Yes | | [Player Movement Copycat](/ml_pmc/README.md)| ml_pmc | 1.0.3 [:arrow_down:](../../releases/latest/download/ml_pmc.dll)| ✔ Yes | -| [Player Ragdoll Mod](/ml_prm/README.md)| ml_prm | 1.0.9 [:arrow_down:](../../releases/latest/download/ml_prm.dll)| ✔ Yes | +| [Player Ragdoll Mod](/ml_prm/README.md)| ml_prm | 1.0.10 [:arrow_down:](../../releases/latest/download/ml_prm.dll)| ✔ Yes
:hourglass_flowing_sand: Update review | **Archived mods:** | Full name | Short name | Notes | diff --git a/ml_prm/Properties/AssemblyInfo.cs b/ml_prm/Properties/AssemblyInfo.cs index 4f802c3..abd9de2 100644 --- a/ml_prm/Properties/AssemblyInfo.cs +++ b/ml_prm/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -[assembly: MelonLoader.MelonInfo(typeof(ml_prm.PlayerRagdollMod), "PlayerRagdollMod", "1.0.9", "SDraw", "https://github.com/SDraw/ml_mods_cvr")] +[assembly: MelonLoader.MelonInfo(typeof(ml_prm.PlayerRagdollMod), "PlayerRagdollMod", "1.0.10", "SDraw", "https://github.com/SDraw/ml_mods_cvr")] [assembly: MelonLoader.MelonGame(null, "ChilloutVR")] [assembly: MelonLoader.MelonPriority(2)] [assembly: MelonLoader.MelonOptionalDependencies("BTKUILib")] diff --git a/ml_prm/RagdollController.cs b/ml_prm/RagdollController.cs index 129a1ac..4defe7a 100644 --- a/ml_prm/RagdollController.cs +++ b/ml_prm/RagdollController.cs @@ -263,6 +263,7 @@ internal void OnAvatarSetup() l_body.drag = (Utils.IsWorldSafe() ? Settings.MovementDrag : 1f); l_body.useGravity = (!Utils.IsWorldSafe() || Settings.Gravity); l_body.collisionDetectionMode = CollisionDetectionMode.ContinuousDynamic; + l_body.gameObject.layer = LayerMask.NameToLayer("PlayerLocal"); } CharacterJoint l_joint = l_puppetTransforms[i].GetComponent(); diff --git a/ml_prm/ml_prm.csproj b/ml_prm/ml_prm.csproj index f850914..b89ac5c 100644 --- a/ml_prm/ml_prm.csproj +++ b/ml_prm/ml_prm.csproj @@ -4,7 +4,7 @@ netstandard2.1 x64 PlayerRagdollMod - 1.0.9 + 1.0.10 SDraw None PlayerRagdollMod