Skip to main content

Module controllers

Module controllers 

Source
Expand description

Orbit, first-person, third-person, turntable, and fly-to camera controllers. Camera controllers: orbit, first-person, third-person, turntable, and fly-to animation.

Re-exports§

pub use animator::CameraAnimator;
pub use animator::CameraDamping;
pub use animator::Easing;
pub use first_person::FirstPersonCameraController;
pub use movement::wish_xy_from_actions;
pub use orbit::OrbitCameraController;
pub use third_person::ThirdPersonCameraController;
pub use turntable::TurntableController;

Modules§

animator
Smooth camera motion with exponential damping and fly-to animations. Smooth camera motion with exponential damping and fly-to animations.
first_person
Body-attached first-person camera controller. Body-attached first-person camera controller.
movement
Movement-input helper for the character cameras. Movement-input helper shared across the character camera controllers.
orbit
High-level orbit/pan/zoom camera controller. Orbit/pan/zoom camera controller.
third_person
Body-attached third-person camera controller. Body-attached third-person camera controller.
turntable
Continuous turntable (orbit) camera controller. Turntable (continuous orbit) camera controller.