throttle
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. -->
throttle
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this tool provides and who consumes it, then delete both comment lines. -->TODO: describe this tool.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2throttle(seconds: number?, steer: number?) → any
Drive this peer's car by holding throttle, through the same call the throttle binding makes. The car accelerates, steers and collides exactly as it does for a player, so where it ends up is a thing the game did. Writing a position instead moved the car without driving it, and proved only that positions can be written.
| arg | type | description |
|---|---|---|
| seconds | number? | How long to hold throttle. Defaults to 4. |
| steer | number? | Steering, -1 (left) to 1 (right). Defaults to 0. |
examples
tools.use("rainlineTest","throttle",5)Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.