launch characterでプレイヤーをplaneの相対座標方向へ飛ばしたい。


例えば、planeを横にして当たると跳ね返るように飛ぶようにプレイヤーをplaneの相対座標Z方向にのみ飛ばしたいです。よろしくお願いします。

1 Like

Hi there @SEKI031,

Hope you’re well!

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile:

1 Like

回答ありがとうございます。うまくいきました。一度get up vectorをaddに繋いで試してみても相対座標にならなかったので困っていました。なぜAddを使うとうまく行かないのか教えてもらえますか?

When you add, you add a world coordinate. You’d need to transform direction. But it’s far simpler to multiply a local vector instead.

1 Like

なるほど、乗算の意味を理解することができました。
ありがとうございます。
thankyou.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.