The Godot Community Forums are back up and running! Please read the the announcement post for important information on what happened. Thanks!

BHopping/Air Strafing in Godot

UnknownUserUnknownUser Posts: 0

How can I program my game to have air strafing similar to old GoldSrc halflife?

I have my character capsule set up, with movement bound to the WASD keys, how can I Change the velocity based on the position of the mouse and left or right input?

Comments

  • TwistedTwiglegTwistedTwigleg Posts: 3,129Admin

    This discussion was caught in the moderation queue since you have not confirmed your account yet.

    Upon creating your account you should have received an account verification email. The confirmation email may have been incorrectly flagged as spam, so please also check your spam filter. Without confirming your account, future posts may also be caught in the moderation queue. You can resend a confirmation email when you log into your account if you cannot find the first verification email.

    If you need any help, please let us know! You can find ways to contact forum staff on the Contact page. Thanks! :smile:

  • CalinouCalinou Posts: 376Admin Godot Developer

    ForLoveOfCats implemented airstrafing in C# for SkyOfSteel, but I'm not aware of any GDScript implementation of this.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file