Hello, I used this link, http://hub.jmonkeyengine.org/forum/topic/move-object-smoothly-from-vector3-a-to-vector3b/ to try and interpolate between two Vectors, but i get this error, [java]no suitable method found for interpolate(Vector3f,Vector3f,float)

method Tuple3d.interpolate(Tuple3d,double) is not applicable

(actual and formal argument lists differ in length)

method Tuple3d.interpolate(Tuple3d,float) is not applicable

(actual and formal argument lists differ in length)

method Tuple3d.interpolate(Tuple3d,Tuple3d,double) is not applicable

(actual argument Vector3f cannot be converted to Tuple3d by method invocation conversion)

method Tuple3d.interpolate(Tuple3d,Tuple3d,float) is not applicable

(actual argument Vector3f cannot be converted to Tuple3d by method invocation conversion)[/java]

Here is the code snippet.

[java]Vector3f beginVec = new Vector3f(gun.getLocalTranslation());

Vector3f finalVec = new Vector3f(gun.getLocalTranslation());

finalVec.x = gun.getLocalTranslation().x - 1.5f;

finalVec.y = gun.getLocalTranslation().y + 0.3f;

finalVec.z = gun.getLocalTranslation().z = 1.18f;

float time = 0;

time += tpf2;

float part = time / 2;

float rads = -FastMath.HALF_PI + FastMath.PI * part;

part = FastMath.sin(rads);

part = (part + 1) * 0.5f;

Vector3f current = new Vector3d().interpolate(beginVec, finalVec, part);

[/java]

Also, Im terrible at vectors so i could have a mistake with vector math in the code.