Hey, sorry if this is in the wrong spot. I didn’t think it quite fit as a graphical problem, so I decided to put it in here. Anyway, I was wonder if it is possible to snap a camera to a different position during a cinematic, as well as making a model stop moving, then make it move again. Like if the character was walking, then stopped for a moment to tie his shoe, then continued, if that makes any sense.
About the camera positioning there is a built in system.
you have to register the camera with the cinematic, with a given name. It will return a cameraNode that you can move/rotate like any other node.
Then you can activate a specific cameraNode at a specific time
example :
[java]
// bind the top view
CameraNode camNode = cinematic.bindCamera(“topView”, cam);
// set the node position
camNode.setLocalTranslation(new Vector3f(0, 50, 0));
// set it to look at a specific spatial (teapot) here.
camNode.lookAt(teapot.getLocalTranslation(), Vector3f.UNIT_Y);
// bind the frontview
CameraNode camNode2 = cinematic.bindCamera("frontView", cam);
// set the node2 position
camNode2.setLocalTranslation(new Vector3f(0, 5, 50));
// set it to look at a specific spatial (teapot) here.
camNode2.lookAt(teapot.getLocalTranslation(), Vector3f.UNIT_Y);
this will start the cinematic with the frontview, then switch to top view at 10 seconds and switch back to frontView at 15 seconds.
also the cameraNodes can be animated, with motion path if you want some scrolling or panning of the camera.
I looked at the TestJaime test class, and when I copy+paste into the SDK, it says that enqueueCInematicEvent doesn’t exist anymore. Is there a replacement method or something that I could use?