Package com.ardor3d.scenegraph.controller.interpolation

Examples of com.ardor3d.scenegraph.controller.interpolation.CurveInterpolationController


        point.setPointSize(10f);

        _root.attachChild(point);

        // Create our controller
        final CurveInterpolationController controller = new CurveInterpolationController();
        controller.setCurve(curve);
        controller.setActive(true);
        controller.setUpdateField(UpdateField.LOCAL_TRANSLATION);
        controller.setSpeed(10.0);
        controller.generateArcLengths(10, true); // we must pass true as can switch to cycle repeat type at runtime
        controller.setConstantSpeed(true);

        return controller;
    }
View Full Code Here

TOP

Related Classes of com.ardor3d.scenegraph.controller.interpolation.CurveInterpolationController

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.