I think I found a bug in the camera management. Here is what happens:
I use a Custom Camera Scene Node, I write my own Event Management that is. The respective code should be well known, I use the old RotationX/RotationY Stuff. However, the bug is showing while I do this every frame:
Code: Select all
Player.Position += Player.Direction * Player.Speed;
vector3df pos = vector3df(Player.Position.X, Player.Position.Y, Player.Position.Z + 10);
pos.rotateYZBy(RotationY, Player.Position);
pos.rotateXZBy(RotationX, Player.Position);
PlayerNode->setPosition(Player.Position);
Camera->setPosition(pos);
Camera->setTarget(Player.Position);
Anyone noticed anything similar? Is this a bug in the Engine? Or am I being dumb?