PointLight Position Incorrect

I have just started using jMonkeyEngine coming from LibGDX and LWJGL and I have to say, I love it! Thank for workng so hard on it, devs :).

Anyways, I have a very simple scene set up with normal mapping and a point light. However the pointlight isn’t in the correct position, it almost seems as if it has been translated over a bit but I haven’t translated it. I added a lightcontrol to a small sphere to show the center of the light, but the light is not where it should be. Here is my light code, are there any things I shouldn’t be doing? Just now learning this engine, so I would love tips :slight_smile: !

fireLight = new PointLight(); rootNode.addLight(fireLight); LightControl lightControl = new LightControl(fireLight); lightSphereGeo.addControl(lightControl);

In Update method:

lightSphereGeo.move(0.05f * (float) FastMath.sin(temp), 0, 0);

And creating lightSphere:

Sphere lightSphereMesh = new Sphere(32, 32, 2f);
lightSphereGeo = new Geometry(“Shiny rock”, sphereMesh);
lightSphereMesh.setTextureMode(Sphere.TextureMode.Projected);
TangentBinormalGenerator.generate(lightSphereMesh);
Material lightSphereMat = new Material(assetManager,
“Common/MatDefs/Light/Lighting.j3md”);
lightSphereMat.setTexture(“DiffuseMap”,
assetManager.loadTexture(“Textures/Terrain/Pond/Pond.jpg”));
lightSphereMat.setTexture(“NormalMap”,
assetManager.loadTexture(“Textures/Terrain/Pond/Pond_normal.png”));
lightSphereMat.setBoolean(“UseMaterialColors”, true);
lightSphereMat.setColor(“Diffuse”, ColorRGBA.White);
lightSphereMat.setColor(“Specular”, ColorRGBA.White);
lightSphereMat.setFloat(“Shininess”, 65f);
lightSphereGeo.setMaterial(lightSphereMat);
lightSphereGeo.setLocalTranslation(0, -2, -2);
lightSphereGeo.setLocalScale(0.1f, 0.1f, 0.1f);
lightSphereGeo.rotate(1.6f, 0, 0);
rootNode.attachChild(lightSphereGeo);

Thanks -
cMp

Does anyone have any suggestions?