hi Bakedbeing, > 1: Is there a quick way to parent a camera to an object? use can use Hovercamera, and pass any object3d you want as target or spring camera or a combo, where you would use a camera to act as a dummy
> 2: Can I get an object's world-space/scene-space coordinates when it's > in a container? objectincontainer.scenePosition > 3: Can I set the camera's pivot to scene-origin or to it's target, so > I could just set camera.rotationY? experiment with #1 and you will be able do so. Fabrice On Mar 16, 2010, at 7:55 AM, bakedbeing wrote: > Heya folks, I'm trying to parent the camera to an object like so: > > I have a container (center at the origin) and a sphere in it sits at > z=-1000. > > When I rotate the container I attempt to match the camera to the > sphere's coordinates - they're fixed though, because they're seeing > container-space. > > The task is a simple rotation around the origin which could be > achieved with circle math, but I'd like to know how to parent the > camera to contained objects for future projects if possible! > > A few questions: > > 1: Is there a quick way to parent a camera to an object? > 2: Can I get an object's world-space/scene-space coordinates when it's > in a container? > 3: Can I set the camera's pivot to scene-origin or to it's target, so > I could just set camera.rotationY? > > Thanks guys!
