Attach Camera to a Geometry
Posted: 01 Aug 2012, 22:23
Hi,
I'm looking for a way to attach a camera to a moving piece of geometry. The idea is to allow the user the ability to attach his view to the geometry as it moves through the environment. The geometries have a couple levels of axis applied, with not only tranx, trany, and tranz, but also rotations ... so taking those transforms and applying them to the camera becomes quite complex (especially with multiple geometries the user can select, each with their own hierarchies of transformations).
It would be great if I could simply put a camera on the same hierarchy level as the geometry, and switch to it as needed.
Can anyone help?
Thank You!
Robert
I'm looking for a way to attach a camera to a moving piece of geometry. The idea is to allow the user the ability to attach his view to the geometry as it moves through the environment. The geometries have a couple levels of axis applied, with not only tranx, trany, and tranz, but also rotations ... so taking those transforms and applying them to the camera becomes quite complex (especially with multiple geometries the user can select, each with their own hierarchies of transformations).
It would be great if I could simply put a camera on the same hierarchy level as the geometry, and switch to it as needed.
Can anyone help?
Thank You!
Robert