Skip to content
AEOWUN
Docs Menu

Camera

Set the gameplay view and handle nearby obstacles.

Editor and gameplay cameras

Editor navigation moves your editing view. AeoScript camera calls control the active gameplay camera.

Set the view

Use camera.set_position() and camera.set_target() to place the camera and choose what it looks at. Both accept three numbers or a three-number basket. Use camera.set_orientation(yaw, pitch) for orientation.

Camera collision

physics.resolve_camera_collision(target, desired) returns a position adjusted for collision. Apply the returned position to the camera. See the Camera API and Physics API.

[BETA] marks features newer than the current public release. Current release: 0.8.0.