Very Basic Newtonian Physics

This was made as a one off for a very specific purpose and not really meant to public consumption but itch.io makes a sort of "unlisted" project annoying to maintain so here it is 😂

There's not much going on here, just a very basic and unapologetic Newtonian physics thing with a somewhat odd control scheme.

Also, I wanted to test web exports again, but this time with plain old Unity and URP. 

Some Quick Unity Thoughts

FYI you need to set the compression in the Publishing Settings of the Player Settings in Unity for it to run correctly on itch.io. Under the Resolution and Presentation tab (in Player Settings too) you'll probably want to set the template to Minimal to get rid of the bar and frame that Unity adds to its web exports by default.

Oh yeah, new Input System. I really like the direction this thing is going, though I am a bit wary of using it on a production game. When it works, it's a massive improvement over the old Unity input system, and I'd say it falls somewhere in between Rewired and the old system in terms of robustness. It takes a lot of the ideas of Rewired (e.g. actions and maps) but puts them into a more Unity-native format.

The biggest drawback with the New Input System though is that I think there's no good tutorials for it. Or at least, I haven't seen any. All of the docs and tutorials tell you how to use the components Unity provides and I think that's a big mistake, because the Inspector-side (and even script-side) connections it forces you to make are incredibly fragile and prone to breaking if you ever need to refactor something or rename anything.

I have an example of how I would do input here, and it's what I always reference, but I think this example is a little over-complicated since that implementation was specific to Vector Fury. At some point I think I should make a new example. 

Controls

Requires a gamepad to fly the thing around.

  • Strafe Left/Right - Left thumbstick horizontal
  • Strafe Up/Down - Left thumbstick hertical
  • Forwards - Left thumbstick press, left bumper
  • Reverse - Right thumbstick press, right bumper
  • Roll Left/Right - Left/right triggers

Comments

Log in with itch.io to leave a comment.

well, that was a surprisingly fun 15 minutes (I know you won't get back to this but please add a visual differentiator between the front and back crosshairs)

it feels so good to hit a bloc at 200 then regain control of the vessel, especially if it bounces back on another object during the maneuver

saw your last post, I’ll definitely try this out. I’m gonna try out the Bevy engine for Rust. You might be interested:

https://bevyengine.org/

(+1)

Bevy is way too Rustbrained for me. I don't even understand the Hello World.