Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Update previous commit for #22
Browse files Browse the repository at this point in the history
  • Loading branch information
TRSasasusu committed Jan 30, 2024
1 parent e3b925d commit 2b18a1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions TranslationForTheOutsider/IssueOfTheOutsiderPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -435,13 +435,16 @@ static IEnumerator FixEndlessCanyonElevator() {

clonedCageKinematicRigidbody.enabled = false;
//TranslationForTheOutsider.Instance.Log("elevator of endless canyon is fixing: disabling cloned cage kinematicrigidbody end");
//clonedCageOWRigidbody._suspended = true;
clonedCageOWRigidbody._suspended = true;
clonedCageOWRigidbody._suspensionBody = friendElevatorCage.GetComponent<OWRigidbody>()._suspensionBody;
//TranslationForTheOutsider.Instance.Log("elevator of endless canyon is fixing: setting cloned cage owrigidbody suspension settings end");

clonedCageOWRigidbody._suspended = false;
clonedCageOWRigidbody.Suspend();
//clonedCageOWRigidbody._childColliders = clonedCage.transform.Find("Structure_IP_Elevator_v2").GetComponentsInChildren<>
//clonedCageOWRigidbody._suspended = false;
//clonedCageOWRigidbody.Suspend();
clonedCageOWRigidbody._childColliders = clonedCage.transform.Find("Structure_IP_Elevator_v2").GetComponentsInChildren<Collider>();
foreach(var child in clonedCageOWRigidbody._childColliders) {
child.GetComponent<OWCollider>().ListenForParentBodySuspension();
}

TranslationForTheOutsider.Instance.Log("elevator of endless canyon is fixed");
}
Expand Down
2 changes: 1 addition & 1 deletion TranslationForTheOutsider/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"author": "orclecle",
"name": "Translation and Patches for The Outsider",
"uniqueName": "orclecle.TranslationForTheOutsider",
"version": "1.3.2",
"version": "1.3.3",
"owmlVersion": "2.9.8"
}

0 comments on commit 2b18a1b

Please sign in to comment.