Tracking position in 3D space

Thanks for your reply!

Youre right that is more a thing of optical tracking in the PC via software but
I thought of something like a gyroscope sensor thing. I dont want to track an object
that is "seen" I want to track a "virtual" camera which is more or less only one point
with XYZ and rotation values.

Assume that you can take a "virtual camera" and you have a button to say "youre now
on your origin (0,0,0) position". Now wouldnt it be possible to detect the movement in
space? Like the gyro detects a movement in +x and adds that movement to a global variable
X etc. These values also for rotation of course.

Do you think there would too much noise (value jittering) for such an approach?