Finally tweaked my logic for decelerating a submarine that has forward momentum but has engines zeroed. I think it works. Seems to anyway and it'll do for now for a game that isn't trying too hard to be a sim.

Next I need to work out how to finally render the "forward periscope" view given a 3D space of cells and any arbitrary heading. I probably need to extend some vectors at 90 degrees and calculate what cells they intersect. Or something like that.

Sign in to participate in the conversation
Mental Health dot Social

A safe, social, virtual space for anyone interested in mental health and its issues. Whether you're a service user, someone with lived or living experience or a mental health professional, feel free to join, hang out and chat about anything.

Non-judgemental, open-minded and with a zero-tolerance policy on abusive behaviour, harassment and discrimination.

If you are experiencing a suicidal crisis, please call one of the numbers below and talk to someone - they will be able to help.