Is there any way i can position the collision shape to the sword? i havent found a way.
This is the code i use for creating the sword
Node swordModel = (Node) assetManager.loadModel("Models/sverd/Sphere.mesh.xml");
swordModel.scale(0.25f);
swordModel.rotate(0,0,1.3f);
Weapon sword = new Weapon(swordModel);
rhandNode.attachChild(sword);
GhostControl weaponControl = new GhostControl(new BoxCollisionShape(new Vector3f(0.5f,0.02f,0.02f)));
sword.addControl(weaponControl);
bulletAppState.getPhysicsSpace().add(weaponControl);