struct
BuoyancyComponent
- Module
- Game
- Header
#include "Game/Components/BuoyancyComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
float | strength | Default 18.0f. |
float | sampleRadius | Default 0.5f. |
float | maxDepth | Default 1.0f. |
float | linearDrag | Default 2.0f. |
float | angularDrag | Default 1.0f. |
Constructors
| Signature | Name | Description |
|---|---|---|
BuoyancyComponent() = default | BuoyancyComponent |
Function details
BuoyancyComponent
C++
BuoyancyComponent() = defaultGenerated from Game/Components/BuoyancyComponent.h via game.json · Nov 5, 2026Version 1.0.0