I've finally managed to implement my bounds checking for the camera ( including Yaw restrictions ).
Now, all I need to be able to do is get the Plane to match the Camera's movements (including rotation!).
I think it would be something along these lines:
Object Position = Camera Position
Object Rotation = Camera Rotation
Object Translate ( i.e. move away from Camera )
Object LookAt Camera
I can easily get the Camera's Position.
There doesn't appear to be a function to get the Camera's Rotation (though I do have this in my bounds checking code, so that's not too much of a problem)
The problem I have is working out the Translation away from the Camera. I assume it's something to do with the Forward Vector and just moving along that? e.g. if the Forward Vector of the Camera is 0.5, 0, -0.5 then I can just multiply this by an amount to get the required Translation step?
Any help would be greatly appreciated.
Shando
edit: actually, thinking about it, I probably don't need the Rotation step, as that would be handled by the LookAt step anyway??