# film-street-actor: live actors for the street game

> Film actors keep their animation; a generated character gets the film’s walking rig.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Game creation](https://www.sandbase.ai/skills/games)
- Version: 0.1.1
- Page: https://www.sandbase.ai/skills/games/film-street-actor

## Install

Download the Skill package from https://www.sandbase.ai/skills/games/film-street-actor (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/film-street-actor export the rooftop cat from my film and make the generated boy a walking player
```

## How it works

1. **Mark moving characters as dynamic** In the film-street-bake configuration, list every moving film character under objects.dynamic and rigs, so the bake leaves no trace of them in the static street. The examples come from Sunset Street, run on its film snapshot: a rooftop cat that is already rigged and animated, and a generated, unrigged boy model that becomes the player.
2. **Export a film actor or rig a player** In Blender, export_actor.py exports a rigged film actor with its IK baked to plain keys into a glTF, on the same path as in the film; compare the printed root positions with the film. rig_walker.py rigs an unrigged humanoid with the film project's own walker.py and writes an in-place walk cycle and idle pose with fps, frame ranges, speed and height.
3. **Check it in the game** Set street.scene.player.model to player_<name>, run node slim.mjs in the app and check the result in the game: the feet stay on the ground, standing still does not jitter and walking does not slide, because the game moves the player at the exported speed in metres per second. Generated models come out glossy, and the game makes actors matte.

## FAQ

### What does film-street-actor do?

film-street-actor turns the moving characters of a Blender film street into live actors for the film-street game. It exports a rigged, animated film actor, such as a rooftop cat, with its whole film performance, or rigs an unrigged generated character with the film's procedural walker and exports a walk cycle and idle pose as the player.

### Can film-street-actor characters walk anywhere?

No. Characters exported with film-street-actor stay inside the walk area baked by film-street-bake. A film actor's animation plays exactly as recorded and cannot react to the player, so passers-by that should loop along the street need a walk cycle from rig_walker.py instead of their film path.

### What does film-street-actor need?

film-street-actor needs Blender, and rig_walker.py also needs the film project's walker.py, which is not part of this Skill, plus a humanoid mesh standing on the ground facing minus Y. It runs locally in Blender and calls no model, so exporting actors needs no API key.

### Why does a film-street-actor player look matte?

Generated models come out of the film glossy, and the film-street game renders its actors matte so they sit with the baked street lighting. Skinned meshes are drawn without frustum culling. If an exported player looks wrong, check its scale against the height that rig_walker.py writes into player_<name>.json.

### How do I check a film-street-actor export?

After exporting with film-street-actor, compare the printed root positions with the film for a film actor, then run node slim.mjs in the app and watch the game: feet on the ground, no jitter when standing still and no sliding while walking, since the game moves the player at the exported speed.

## Examples

- Live actors (image)
