Ok, this is the first result i came up with: i messed around with CameraRotation and stuff and i obtained a very simple engine for a first person game. Nothing really impressive, but some newbie may find it useful for beginning.
btw: i did not quite understood how ZGE uses CameraRotation values: due to the fact that composition of rotations is not commutative, the following codes should act differently:
Code: Select all
App.CameraRotation.X=uh;
App.CameraRotation.Y=ah;
Code: Select all
App.CameraRotation.Y=ah;
App.CameraRotation.X=uh;
("uh" and "ah" being float values). Now, in the App Properties window, you may choose different default values for rotation of the camera, but what is the order ZGE reads them? I messed with them a bit but still...