daz_orbit_camera_around
Positions camera around a target node at specified angles and distance, then automatically aims at the target. Sets viewpoints like bird's-eye, low angle, or side views.
Instructions
Position camera orbiting around a target node at specified angle and distance.
Uses spherical coordinates to position the camera at a specific angle around a target object. The camera is automatically aimed at the target after positioning.
Args: camera_label: Display label of the camera to position. target_label: Display label of the target node to orbit around. distance: Distance from target in centimeters (default: 200). angle_horizontal: Horizontal angle in degrees, 0=front/+Z, 90=right/+X (default: 45). angle_vertical: Vertical angle in degrees, positive=above, negative=below (default: 15).
Returns:
success: true on success
camera: camera label
target: target node label
position: camera world position {x, y, z}
targetPosition: target world position {x, y, z}
Example: # Position camera at 45° to the right, slightly above, 200cm away daz_orbit_camera_around("Camera 1", "Genesis 9", distance=200, angle_horizontal=45, angle_vertical=15)
# Side view from the left
daz_orbit_camera_around("Camera 1", "Genesis 9", distance=150,
angle_horizontal=-90, angle_vertical=0)
# Bird's eye view
daz_orbit_camera_around("Camera 1", "Genesis 9", distance=300,
angle_horizontal=0, angle_vertical=60)
# Dramatic low angle
daz_orbit_camera_around("Camera 1", "Genesis 9", distance=180,
angle_horizontal=25, angle_vertical=-20)Note: Angles use spherical coordinates: - Horizontal: 0°=front(+Z), 90°=right(+X), 180°=back(-Z), -90°=left(-X) - Vertical: positive=above horizon, negative=below
Camera is automatically aimed at the target's world position after positioning.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera_label | Yes | ||
| target_label | Yes | ||
| distance | No | ||
| angle_horizontal | No | ||
| angle_vertical | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||