timewarpinc / submarine

1 stars 0 forks source link

Implement submarine movement #3

Closed mikz closed 3 years ago

mikz commented 3 years ago

Move the submarine by a keyboard/gamepad

Rotate it when going left/right No rotation when going up/down

Submarine needs to fully rotate before moving starts

mikz commented 3 years ago

Basic movement works. Rotation needs to be finished before it starts moving.

mikz commented 3 years ago

I'm thinking about adding some kinetic energy to the submarine. It should have some drag, but for a while continue with the movement no?

But I guess then we should have different way of rotating the submarine and having a reverse power to stop the movement.

Would be great to get your thoughts.

mikz commented 3 years ago

Implemented rigidbody for the submarine in 99617d6293ba75e2d85cd020a69816d36b4176a5

mikz commented 3 years ago

improved submarine drag and reduced its movement backwards and up/down in fa6df99