Package imi.character.avatar

Examples of imi.character.avatar.AvatarController


            // Create a new collision controller, and set on the avatar
            CollisionController controller = new CollisionController(collisionGraph,
                    (JMECollisionSystem) collisionSystem);
            collisionChangeRequestListener.setCollisionController(controller);
            AvatarController ac = (AvatarController)avatar.getContext().getController();
            ac.setCollisionController(controller);
            if (collisionListener==null) {
                collisionListener = new WLCollisionListener();
            }
            ac.addCollisionListener(collisionListener);
        } else {
            AvatarController ac = (AvatarController)avatar.getContext().getController();
            ac.setCollisionController(null);
            ac.removeCollisionListener(collisionListener);
         }
    }
View Full Code Here

TOP

Related Classes of imi.character.avatar.AvatarController

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.