bakeGroundObstacles
bakeGroundObstacles(
entity,__namedParameters?): () =>void
Defined in: packages/engine/src/gameplay/world/actions.ts:117
Bakes what of the entity’s scatter blocks a walker into its Obstacles trait, from the scatter shapes table unless handed other shapes. Returns what takes the trait off and frees the bake, which a second bake calls first or is refused.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
__namedParameters |
Pick<BakeObstaclesOptions, "shapes"> |
Returns
Section titled “Returns”() => void