Null-References / Uncertainty

Uncertainty is an action-adventure space-shooter game.
MIT License
43 stars 12 forks source link

The ship's controller stabilizer #43

Open benymaxparsa opened 3 years ago

benymaxparsa commented 3 years ago
private void Stabilizer()
    {
        //use another transform to store rolled world axis
        //use Dot product of ship right vector and worlds up to roll the ship and make ship to be perpendicular bar worlds up
        //multiply dot of the ship forward and world up and at certain values when looking up we don't spin
        //make that when we roll our world transform temp object roll as well
        //note: we can use a vector and rotate that also
    }