Yes, it would be nice to have a bunch of camera controller types like
orbital camera, fps camera, fly camera, etc...

Should these extend Camera3D?

I often use an orbital camera controller I made which has 3 classes. The
innermost class controls allows you to set the camera position instantly
from spherical coordinates. The next one wraps that class to do the same but
with easing, and the outermost wraps the second one to do the same but with
mouse and keyboard input.

This brings up a problem. The camera extending classes would need to have a
reference to the stage or a sprite on the display list to capture mouse and
keyboard input. Should we include the capture part in these classes or not?

Li

Reply via email to