struct
VegetationInteractorComponent
Pushes grass and foliage aside while it stands in them: a prop, a creature, a vehicle body. A vertical cylinder of radius at the entity's position; the vegetation deflection field bends the plants out of its footprint and lets them swing back after it leaves. Characters need no component - the scene bridge collects their capsules itself.
- Module
- Game
- Header
#include "Game/Components/VegetationInteractorComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
float | radius | Default 0.5f. |
float | height | Plants taller than this are bent only at their base. Default 1.0f. |
Vec3 | velocity | What the entity is moving at, handed to the plants it brushes so they carry on in its direction after it passes. Gameplay code sets it each tick; zero bends them out and lets them settle without a push. Default Vec3(0.0f, 0.0f, 0.0f). |
Generated from Game/Components/VegetationInteractorComponent.h via game.json · Dec 5, 2026Version 1.1.0