1st person perspective using an object?
Dear all,
I am working on a little project where I have a virtual environment, a room, and an object, an arrow that moves around the room. I have programmed it as a function with a series of "moveTo" actions.
What is the best way to link the main viewpoint to the arrow head, so as to look as a1st person perspective. Indeed, I won't be needing the arrow. It is just a placeholder that should elicit the impression of 1st person.
I tried using link = viz.link( viz.MainView, arrow) but this somehow overwrites my actions. What starts to happen is that the dart starts to move upwards (basically into the sky), apparently indefinetely. I do think this has to do with linking the object to the viewpoint (because ebery viewpoint has a head and body position and orientation).
Does anyone have any other idea how to achieve the 1st person perspective using an object?
Thank you very much in advance!
|