Actually, yes.  I'm still working on some bugs, but I have something
that works in a very basic way.

What I've done is created a dummy object, in my case a sphere
primitive, and then I placed it at camera's position on
initialization.  From there, I placed the sphere inside my container
object and manipulate that object according to input as I have been
doing.  I then set the camera so that on every frame, its transform
matrix is set to the dummy sphere's sceneTransform.  This makes it so
that I have the semblance of the camera being inside the container
without actually putting it in the container.  The camera is bound to
the hookContainer and is able to move forward and rotate without major
snags.

I'm currently away from my project, but I will post a bit of my code
to go along with this as soon as I am able.  Not sure if this will
work for you, but this is a good start for what I was trying to
accomplish and even if it's not a direct solution, maybe it'll set you
in the right direction.

Reply via email to