0

私のゲームでは、KeyBehavior でカメラを動かします (ViewPlatformBehavior を拡張します)。現在、これらの動きはそれぞれ約 1 メートルで、「ステップ」のように見えます。2 つのベクトルの間でカメラの動きをアニメートする方法はありますか?

protected void doMove(Vector3f theMove) {
        // move the main, forward-facing camera
        // get the current location and translate it by the passed in Vector.
        targetTG.getTransform(t3d);
        toMove.setTranslation(theMove);
        t3d.mul(toMove);
        targetTG.setTransform(t3d);
}
4

1 に答える 1