Talon Game

Refractory Studios

You are not logged in.

Announcement

Version 1.2 released; new game mode, new map, misc improvements

#1 2014-09-20 20:51:20

Hypersonic
Member
Registered: 2014-02-24
Posts: 37

1.0.3 bug: Down drift if ship's up vector isn't near world's up vector

Go up in the air then move ship's up vector away from the world's up vector.
(can do this in a variety of ways like rolling on your side or pitch up or down.)
Then let go of the controls and you slowly drift down.
Doesn't happen in a Space map. You don't bob up and down in Space map.
So I suspect it's a bug in the bob up and down code.

Last edited by Hypersonic (2014-09-22 01:34:21)

Offline

#2 2014-09-30 04:21:12

Hypersonic
Member
Registered: 2014-02-24
Posts: 37

Re: 1.0.3 bug: Down drift if ship's up vector isn't near world's up vector

The bobbing is obviously obtained by pulsating acceleration in the direction of the ship's up vector. When the ship is powered on it auto-counters most of gravity, but not quite all of it. When the ship's up vector faces the same direction as the world's up vector the average acceleration is exactly negated by acceleration due to the part of gravity not countered by power-on.

Angle between ship's and world's up vectors
000 stable bobbing
045 04kph drift (mostly horizontal, slighty downward)
090 13kph drift (mostly downward, slightly horizontal)
135 30kph drift (almost totally downward)
180 43kph drift (straight down)

When you're close to the ground bobbing is suddenly in the direction of the world vector without regard to the ship's orientation, why isn't it this way all the time? Is it possible to turn off bobbing on non-space maps? There's already no bobbing at all in space maps.

Offline

#3 2018-07-09 02:16:54

Scott
Refractory Studios
Registered: 2012-08-07
Posts: 463
Website

Re: 1.0.3 bug: Down drift if ship's up vector isn't near world's up vector

It's not a bug, it's a feature.

No, really. I wanted to convey a feeling of flight, of actually being held up in the air. I thought a subtle helicopter-like balance mechanic would give this effect. I think it does; but, I also find it a bit annoying, and clearly it is unintuitive.

So I've removed it for 1.2.

Offline

#4 2018-09-10 00:27:02

Hypersonic
Member
Registered: 2014-02-24
Posts: 37

Re: 1.0.3 bug: Down drift if ship's up vector isn't near world's up vector

Oh ya I figured it was a feature, like Descent's bobbing. Perhaps there's a way to do it without slowly drifting down when the ships is tilted. Maybe 1st negate gravity with an equal but opposite force, then apply a pulsating acceleration along the ship's up vector. Or just do the pulsating acceleration along the world's up vector without regard to the ship's tilt.

Offline

Board footer

Powered by FluxBB 1.5.9