RSDKv5-Decompilation
RSDKv5-Decompilation copied to clipboard
[v5U] Legacy v4 object collision works (in)correctly
One of the known bugs in Sonic Origins is that in Sonic 2, when the player jumps on the teeth of a rotating gear in Metropolis Zone, they're never properly set as grounded, so they'll continue to be in whatever state they were in the air.
https://user-images.githubusercontent.com/7158344/202569895-746985bb-51e7-45ca-a98c-31f625e2c83e.mp4
However, this doesn't seem to happen in the v5U decomp. The decompiled scripts weren't used here; it's the same data file and bytecode from Origins 1.04.
https://user-images.githubusercontent.com/7158344/202570165-44867660-6bfd-4670-9e4b-1e7a995c4b3a.mp4
I think I don't need to climb here, but i got that bug in Sonic 2 (2013)
Might have found a lead on this: removing the C_PLATFORM BoxCollisionTest line in the Large Gear object creates a similar (although not identical) effect to the bug.
https://user-images.githubusercontent.com/7158344/203233248-f6f6f934-45e0-4b25-968b-76b336cbab2b.mp4