2020-07-20 内積でベクトルの方向が同じかどうか unity math //方向が一緒なら1、逆なら-1 直角なら0 if( Vector3.Dot( velocity.normalized, Vector3.down) > 0.5f){ }