Well I am using the jme chase camera but I am having trouble adjusting it to my object. It keeps staying miles away from the spatial its following (but it is following it)
How can I set this?
My code, offfsets does not seem to help
//set up camera
Vector3f targetOffset = new Vector3f();
targetOffset.y = ((BoundingSphere) shuttle.getModel().getWorldBound()).radius * 1.5f;
chaser = new ChaseCamera(cam, shuttle.getModel());
chaser.setTargetOffset(targetOffset);
chaser.setActionSpeed(100f);
HashMap handlerProps = new HashMap();
handlerProps.put(ThirdPersonHandler.PROP_DOGRADUAL, "true");
handlerProps.put(ThirdPersonHandler.PROP_TURNSPEED, ""+(1.0f * FastMath.PI));
handlerProps.put(ThirdPersonHandler.PROP_LOCKBACKWARDS, "false");
handlerProps.put(ThirdPersonHandler.PROP_CAMERAALIGNEDMOVE, "true");
input = new ThirdPersonHandler(shuttle.getModel(), cam, handlerProps);
input.setActionSpeed(100f);
thanks