For the long weekend I focused on fleshing out trains and fixing some bugs along the way. You can now properly ride the train in c0a0! Check it out:
I also fixed the way trains rotate, taking into account the distance between the train’s origin and its front wheels. There was a very useful visualization at the bottom of the notes section on the TWHL wiki page.
There are some new bugs I need to fix, primarily when pushing entities that are onboard a moving train you can get into a situation where the offset that gets computed is invalid, causing you to be stuck in the void. It happens when you get to the segment where the train moves vertically just before the rocky section of the track.
Aside from bugs, there are a few entities I need to implement to wrap up c0a0. Of the non-sound related entities, they are env_fade, env_message, and trigger_relay.
Until next time!