About Store Forum Documentation Contact



Post Reply 
How to disable dodging of character ?
Author Message
tipforeveryone Offline
Bronze Supporter

Post: #1
How to disable dodging of character ?
I want to stop created character from dodgging while double tap A/D key

Ah, found it
Just disable input.dodge
Code:
// dodge, crouch, walk, jump
// input.dodge = Kb.bd(KB_D)-Kb.bd(KB_A);
input.crouch= Kb.b (KB_LSHIFT);
input.walk  = Kb.b (KB_LCTRL );
input.jump  =(Kb.bp(KB_SPACE) ? 3.5 : 0);
(This post was last modified: 06-20-2020 11:48 AM by tipforeveryone.)
06-20-2020 11:27 AM
Find all posts by this user Quote this message in a reply
Post Reply