batch_place_actors_on_terrain
Ground multiple actors on a landscape in one call by sampling the heightmap at each XY, avoiding line traces and per-point Python. Specify actor names or labels with optional Z offsets.
Instructions
Ground many actors on the landscape in one call by sampling the heightmap at each actor's XY (no line trace; scatter without per-point python). Same grounding math as place_actor_on_terrain, applied per actor.
Returns: { placed: [ { name, label, previous_z, new_z, landed_z, in_bounds, align, align_used, z_offset } ], failed: [ { name?, label?, error } ], placed_count: int, failed_count: int, requested_count: int, landscape_actor_name: string, world_name: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| align | No | Optional default align for entries without their own; 'mesh_bbox_bottom' (default; drops the lowest mesh point) or 'actor_origin' | |
| actors | Yes | Array of { name (Actor->GetName()) OR label (Actor->GetActorLabel()), z_offset? (per-actor override), align? ('mesh_bbox_bottom'|'actor_origin', per-actor override) } | |
| z_offset | No | Optional default extra world-Z above the sampled ground for entries without their own; defaults to 0 |