|
Post by SuperJumpman12 on Jun 30, 2024 18:28:18 GMT -8
...so, fun fact... did you guys know rail physics work differently in SA2 as opposed to the Digital Swirl engine? ![](https://postimg.cc/3k4wjXgw) ![](https://i.postimg.cc/Dw5bT501/image.png) in SA2, when you land onto a rail, it directly converts the speed you had beforehand into the angle you're at when you snap onto the rail. for instance--if you homing attack a vertical rail, like in that picture, you'd travel up it quickly, because you just got a ton of FORWARD speed from your homing attack--which translates directly into VERTICAL speed, since the rail turns you vertically. that's the reason why those crazy vertical ramps in Final Rush can work as they do. ...in the DS engine, however, the speed you have before you land on the rail is directly converted globally, instead of according to the rail's direction. for instance, if you homing attack onto a vertical rail in the DS engine, what happens instead is that, even though you have a lot of forward speed from your homing attack, it does nothing for you, since horizontal speed doesn't get you up a vertical wall. if anything, you actually get some downward speed as you snap onto the rail, since the homing attack causes you to fall a bit. so, that meant that making the Final Rush ramps in PA3 was harder than i thought it'd be. luckily, after digging into the code, it was pretty easy to adjust the function that re-converts your speed globally, and i was able to shut it off specifically for those ramps in that stage. ...it also means those rails work different than all the other rails in the game, but oh well. honestly, i spent more time getting the moving textures on all the different rail parts to line up than i did actually fixing the physics code. hope you enjoyed this month's episode of SJ12 drives himself crazy over small details. i hope this deep dive into an aspect of the games' physics was interesting
|
|
|
Post by abupatori1 on Jul 2, 2024 0:56:37 GMT -8
Nice that your trying to fix the (kinda minor) problem. Hope that you are able to fix it so the game can be EVEN Better.
|
|
meleemekhi
New Contributor
![*](//storage.proboards.com/7329589/images/BAWmPUAyfECJhXJxATnE.png)
tickling stuff...
Posts: 3
Roblox Username: MeeiMekhi
Game: Pyrite Adventure 2
|
Post by meleemekhi on Jul 2, 2024 18:06:04 GMT -8
man i love pyrite adventure
|
|