Timing issue
While working with avatars moving dynamically on the virtual screen, I want to record the x,y,z coordinates of say 'head' of an avatar. For this, I am using
print "male1_head_position:", head1.getPosition(viz.AVATAR_WORLD)
This is giving me the coordinates.
In addition, I want to record the system time instantaneously, so that I can correlate the 3D coordinates of say, head of an avatar at a particular instant with some tracking data. From the "help" coming with Vizard, I am getting the elasped time, but, I am not getting the particular instant associated with a particular 3D position of an object.
Can any one suggest me a solution to this?
Thanks in advance.
Uttama
|