I have a turret that has its current rotation stored as a Vector3f. It uses this to calculate the angle of the mesh…
gunMesh.getLocalRotation().fromAngles(gunRotation.getX(), gunRotation.getY(), gunRotation.getZ());
It can shoot a bullet which uses JME Physics to apply force and gravity.
My question how can I calculate the force Vector3f to make the bullet travel in the direction the turret is pointing?
Thanks for any help in advanced :)