Simultaneous keys binding?

Hi all,

A simple example is that when you want to move a box around with WASD

W = Up

A = Left

S = Down

D = Right

Now you want to move DownRight (diagonal) by pressing S+D simultaneous. But how?

Btw, I am using KeyBindingManager at the moment.

One simple way is to use flags instead of directly acting when the key is pressed.  So you'd go through the input update and flags for S and D would get set, then your own update code acts on this and finally clears the flags.

Thanks for that. I will give it a go

Take a look at ThirdPersonController. It's designed for that kind of movement.