Talos docs

road.sample

Since next

Points ON a road's surface from its file, no Play: each [s, offset] (metres along, metres right) gives WORLD position, normal, bankDeg, strip and a rotation standing a prop flush on it, facing along the road.

Plain text

Use it for props on banked or sloped road, not the centre line's height.

TitlePoints on a road's surface
Modedisk
Token costabout 169 tokens (listed only when its toolset is enabled)
Toolsetmeasure

Arguments

ArgumentTypeRequiredDefaultAllowed valuesDescription
agentstringnoThe name of the agent making the call, when several agents share one connection: each named agent is its own actor and plays its own game. Leave it out when there is one agent.
pointsnumber[][]yes[s, offset] pairs, at most 400
roadstringyesThe road entity

Example

An MCP tools/call with the required arguments (placeholders in angle brackets).

{
  "name": "road.sample",
  "arguments": {
    "points": [],
    "road": "<road>"
  }
}