Package com.ardor3d.input.control

Examples of com.ardor3d.input.control.FirstPersonControl


        inited = true;
    }

    private void registerInputTriggers() {
        final FirstPersonControl control = FirstPersonControl.setupTriggers(logicalLayer, Vector3.UNIT_Y, true);
        control.setMoveSpeed(MOVE_SPEED);

        logicalLayer.registerTrigger(new InputTrigger(new KeyPressedCondition(Key.ESCAPE), new TriggerAction() {
            public void perform(final Canvas source, final TwoInputStates inputStates, final double tpf) {
                exit.exit();
            }
View Full Code Here

TOP

Related Classes of com.ardor3d.input.control.FirstPersonControl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.