Y-upという座標系のデメリット
Freya Holmér
@FreyaHolmer: I know it's too late to change but
Vector2.up = ( 0, -1 )
Vector3.up = ( 0,+1, 0 )
makes me all sorts of uncomfortable, I feel like these should use the same sign ;-;
Late as usual
@lateasusual_: And this is why it should have Z up for 3D, Y up doesn't even match the 2D :/
Regardless of personal biases (blender user) Z up makes far more sense for almost all 3D games since movement happens in the XY plane separately from Z.
And it means forward is +ve Y instead of -ve Z
座標系の話
人間的な視点で見て上方向のVectorを書きたいときに、2Dと3D空間上でVectorの方向が異なってしまうことが問題と言っている
また、2Dで上空から見下ろしたような視点で上で前に進むという感じのコードを書いた時、3Dに変換する際にY upであるとXZ平面に書き直さないと行けなくなる
ということ?
https://gyazo.com/26b7118d40dc48ff10a6d4e3f0017616https://gyazo.com/e63a9dd63f05e97efd48397f38966b39
こういうこと?
2Dの座標系がなんで左上が原点なのかよくわかってないんだよな After Effects然り
英文は左上から始まるし、モニターとかも基本的に左上から順に処理されている?のか? だから左上から始まるのが普通になった 的な?