Fluent viewpoint rotation towards an object
Hi everybody,
I have a simple question:
How can I fluently turn the viz.MainView towards an object somewhere in my environment (without knowing the angle between the current viewing direction and the object)?
I could do all the math behind such a rotation myself, but I guess there's a smarter and much shorter way to achive that with Vizard's built-in methods. What I'm looking for is basically what the "viz.MainView.lookAt" function already does, extended by the possibility for a fluent movement instead of the discrete jump in viewing direction.
Can anybody help me out with a good idea?
Thanks in advance!
|