Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
オブジェクトの開始 x 速度と y 速度を計算したいのですが、目的の点に到達する前に曲線を作成するのは速度です。計算しようとしましたが、まったく同じ x & y 位置には達しませんでした。
指定していないので、加速度は-y方向に作用する重力であると仮定します。
開始点と終了点 ( PとS )、および飛行時間 (T)がわかっているため、これは運動の問題に分解されます。
xには加速度がないため、運動を表す式は次のようになります。
x = v x t v x = x/t v x = (x S -x P )/T
yでは、下向きの一定の加速度があります (g>0 とします)。
y = v i t - gt 2 /2 v i = y/T + g T/2 v y = (y S -y P )/T + g T/2