[Papervision3D] Q:Determine point at which freecamera is pointing
carlos at papervision3d.org
Sun Nov 18 03:10:49 PST 2007
Create a new DisplayObject3D to use as a target at init phase, then in
your loop just target.copyTransform( camera ) and then
target.moveForward( distance ).
moveup at mac.com wrote:
> I have a FreeCamera which I am rotating in x,y,z direction using the arrow keys.
> At any given time, I need t be able to determine the point at which this camera is pointing at.
> ie imagine the camera is shining a beam of light onto an imaginary plane which is perpendicular to this beam of light and a given distance from the camera.
> I need to find the co-ordinates of the point at which the beam of light meets this imaginary plane.
> The effect I am trying to accomplish;
> I need to be able to rotate a series of Plane objects in a perfect circle, perpendicular to and centered on, the camera axis (ie this circle will always appear centered in the field of view)
> Does this make any sense?
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> "...all improvisation is life in search of a style."
> - Bruce Mau,'LifeStyle'
> Papervision3D mailing list
> Papervision3D at osflash.org
More information about the Papervision3D