hi,
i need put a nodeCamera in the model to the extent that this model moves in the scene, the camera follow this model
…
but I tried to do this and the nodeCamera not visualize the model … here's a test I did with a box:
Vector3f max = new Vector3f(1, 1, 1);
Vector3f min = new Vector3f(0, 0, 0);
box = new Box("Box", min, max);
box.updateModelBound();
box.setLocalTranslation(new Vector3f(0, 0, -10));
box.setRenderQueueMode(Renderer.QUEUE_SKIP);
box.setModelBound(new BoundingSphere());
cameraNode = new CameraNode("CameraNode", cam);
cameraNode.attachChild(box);
cameraNode.updateWorldData(0);
rootNode.attachChild(cameraNode);
anyone can help-me?