REFERENCEACTORS
ACFBreakableFence
A line of breakable posts and spans laid along a spline. The layout is saved with the level, so unit indices match on every machine; units break from hits and bodies and come back after their definition's respawn delay.
Functions
Recomputes Units from the spline. Runs when the fence is edited in the editor, when it has no layout yet, and for a fence spawned in a standalone game. A load, the cook and a networked game never re-lay: the build ships the saved layout, and unit indices must match on every node.
The spline the fence follows.
The component that breaks, replicates and respawns the fence's units.
The instances that show the posts.
The instances that show the spans.
The saved layout: every post and span, in the order of their unit indices.
Properties
- Category
- Fence
The span between two posts. Required to lay out the fence; its tile length sets the span length and the default post spacing.
- Category
- Fence
- Default
- 0.f
- Category
- Fence
Traces down to the world's static geometry and stands each post on the hit point; off, posts stay on the spline.
- Default
- true
- Category
- Fence
Half the length of the ground trace, in cm: it runs this far above and below each post's spline point.
- Default
- 500.f
- Category
- Fence
- Default
- 5.f
- Category
- Fence
- Category
- Components
- Category
- Components
- Category
- Components
- Category
- Components