Character Brush
Kind: World component · Add Component: Character Modules > World > Character Brush
Gives CSG Brush pieces the same surface settings. Brush-built levels keep their ice and soft landings.
Lets a CSG Brush level piece carry the same surface settings, so a level built from brushes keeps its ice and its soft landings.
Inspector
▼Character Brush
KindSurface ▾
Surface
Friction1
Acceleration1
Footstep(empty)
No Fall DamageOff ▾
Jump Pad
Launch(0, 14, 0)
Keep HorizontalOn ▾
Damage
Damage Per Second25
Origin. The CSG Brush package.
How it works
The character's data on a CSG brush, or on a parent of brushes, which tags them all: what a surface is like to walk on, or which volume the brush is (water, ladder, jump pad, damage, kill). It rides onto every collider piece the brush generates as the ordinary World components (Character Surface, Water Volume, Ladder Volume, ...), so the character reads brushes exactly as it reads hand-placed colliders. A volume makes the brush a trigger.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Kind | What the brush is to the character. | Surface | |
| Friction | Multiplies ground friction. Ice: about 0.05. | 0 or more | 1 |
| Acceleration | Multiplies ground acceleration. Ice: about 0.2. | 0 or more | 1 |
| Footstep | Name of the footstep sound set. | (empty) | |
| No Fall Damage | Landing on this surface never causes fall damage. | Off | |
| Launch | Launch velocity in this object's space, m/s. | (0, 14, 0) | |
| Keep Horizontal | Keep the character's horizontal speed. | On | |
| Damage Per Second | Health lost per second inside the volume. | 0 or more | 25 |