Camera Path

Hi there :slight_smile:

Is there a special way to handle a camera moving/lookingAt path with jME or should I simply use a custom math function and call Camera.setLocation() and Camera.setDirection each frame ?

I want my camera to follow a path through a 3D world…

Thanks in advance,


Somewhere along the way, something is going to be changing the position and direction of the camera. Whether it’s a custom controller (see the CurveController as an example) or simply something you’ve placed in the update function, or whatnot, it will be altering camera characteristics. I don’t know that we’ve developed any particular standard for what you are talking about other than perhaps using a cameranode and a controller.