Lines Matching full:path
60 private MotionPath path;
77 path = new MotionPath();
78 path.setCycle(true);
79 path.addWayPoint(new Vector3f(20, 3, 0));
80 path.addWayPoint(new Vector3f(0, 3, 20));
81 path.addWayPoint(new Vector3f(-20, 3, 0));
82 path.addWayPoint(new Vector3f(0, 3, -20));
83 path.setCurveTension(0.83f);
84 path.enableDebugShape(assetManager, rootNode);
86 cameraMotionControl = new MotionTrack(camNode, path);
100 path.addListener(new MotionPathListener() {
103 if (path.getNbWayPoints() == wayPointIndex + 1) {
162 path.disableDebugShape();
165 path.enableDebugShape(assetManager, rootNode);
183 if (path.getPathSplineType() == SplineType.CatmullRom){
184 path.setPathSplineType(SplineType.Linear);
186 path.setPathSplineType(SplineType.CatmullRom);
191 path.setCurveTension(path.getCurveTension() + 0.1f);
192 System.err.println("Tension : " + path.getCurveTension());
195 path.setCurveTension(path.getCurveTension() - 0.1f);
196 System.err.println("Tension : " + path.getCurveTension());