(AGK version: 108.24)
Submitted: 2015-12-29 16:03:44
    if GetKeyboardExists() 
         
        //Stops movement when no key is pressed.
        Move3DPhysicsCharacterController( objID, 0, WalkVelocity)
        //up key Forwards
        if GetRawKeyState( 38 ) 
            Move3DPhysicsCharacterController( objID, 1, WalkVelocity )
            move = 1
        endif
        //down Backwards
        if GetRawKeyState( 40 ) 
            Move3DPhysicsCharacterController( objID, 2, WalkVelocity )
            move = 1
        endif
        //Q Key For Rotate
        if GetRawKeyState( 37 ) 
            finalRotation = finalRotation - rotationInc
            Rotate3DPhysicsCharacterController( objID, finalRotation )
        endif
        //E Key For Rotate
        if GetRawKeyState( 39 ) 
            finalRotation = finalRotation + rotationInc
            Rotate3DPhysicsCharacterController( objID, finalRotation )
        endif
         
        // R Strafe Left
        if GetRawKeyState( 82 ) 
            Move3DPhysicsCharacterController( objID, 3, WalkVelocity )
            move = 1
        endif
        // T Strafe Right
        if GetRawKeyState( 84 ) 
            Move3DPhysicsCharacterController( objID, 4, WalkVelocity )
            move = 1
        endif
        //SpaceBar Jump
        if GetRawKeyPressed( 32 ) 
            Jump3DPhysicsCharacterController(objID)
        endif
         
       Rotate3DPhysicsCharacterController( objID, finalRotation )
    Endif 
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.