| Last updated | 3 days ago |
| Total downloads | 6 |
| Total rating | 0 |
| Categories | |
| Dependency string | discohatesme-OrbTunneling-0.0.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
Hamunii-AutoHookGenPatcher
Automatically generates MonoMod.RuntimeDetour.HookGen's MMHOOK files during the BepInEx preloader phase.
Preferred version: 1.0.9README
OrbTunneling
Prevents Concentrication and Lazorb from passing through special pegs.
Technical Analysis
Removing extraneous stuff, pegs look something like this:
- Peg Game Object
- PegTrigger Game Object
- CircleCollider
- SpecialPegCollider Game Object
- CircleCollider
- PegTrigger Game Object
The 2 CircleColliders here are the same size and overlap each other perfectly. The tunneling issue happens when the PegTrigger collision happens before the SpecialPegCollider collision. When you fire Concentrication, the PegTrigger collider is what "activates" the peg as it passes through, and the SpecialPegCollider is what causes the shot to bounce off crits and refreshes. If the PegTrigger collider happens before the SpecialPegCollider, the peg gets activated and "popped" which means that there's no longer anything that causes Concentrication to bounce. If the SpecialPegCollider gets hit first, everything works fine.
This issue seems to happen randomly (maybe 5% of the time) and at any time scale since it's likely due to the order in which Unity processes collision detections.