You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
The title basically sums up the problem. If I move left or right the scene node attached to the fps camera jerks and shakes really bad at first and after a few seconds lessens, but is still visibly shaking. If I move forward or backwards or rotate the camera all is fine. It's just the strafing movements that causes a problem. I went so far as to open up the second example that comes with Irrlicht and attached a scene node there and the problem still persists, but I'm getting around ~100 fps. And I don't remember having this problem with older versions of the Irrlicht (or maybe I'm not remembering correctly)
This is for example how I'm attaching the scene node to the camera
the problem is the desynchronization between the camera and the gun. I think it can be solved by calling the updateAbsolutePosition() of the camera and the gun before the rendering. But i can't tell 100% for sure.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
while(device->run())
{
if (device->isWindowActive())
{
driver->beginScene(true, true, video::SColor(255,200,200,200));
//first call to drawAll()
smgr->drawAll();
camera->updateAbsolutePosition();
gunnode->updateAbsolutePosition();
//second call to drawAll()
smgr->drawAll();
driver->endScene();
........
and then proceed to move left/right with the camera it draws two instances of the node (from the two calls to 'smgr->drawAll()') but only one of the two nodes does the shaking the other one behaves like I want...
Hmm.. It sounds like the position updating is the problem. How do you know that the node isn't shaking forward and backward when you move those directions? Is the camera positioned directly behind the node?
I'd try setting the position of the note to 0,0,0 and see if the problem persists.