
Godot4 動く地形でジャンプしたときに慣性をつけるスクリプト例
Godot Engine 4 で、簡単に落下・ジャンプ・横移動などを実現できる CharacterBody2D クラスのスケルトンコードに処理を追加して、動く地形の上でジャンプをしたときに、慣性をつけたジャンプを実装します。get_platform_velocity 関数を使用するタイミングについても紹介します。
このサイトは広告を掲載して運営しています。
ポップアップを閉じて閲覧できますが、よろしければ
このサイト内の広告を非表示にする拡張機能をオフにしていただけませんか?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.