struct
RopeComponent
- Module
- Physics
- Header
#include "Physics/Components/RopeComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
int32_t | segments | Default 16. |
float | length | Default 5.0f. |
float | stiffness | Default 1.0f. |
float | bendStiffness | Default 0.0f. |
float | damping | Default 0.4f. |
float | gravityScale | Default 1.0f. |
float | radius | Default 0.03f. |
bool | collideWithWorld | Default true. |
bool | applyToBodies | Default true. |
uint64_t | startEntityId | Default 0. |
std::string | startSocket | |
Vec3 | startOffset | Default Vec3(0.0f, 0.0f, 0.0f). |
Vec3 | startPoint | Default Vec3(0.0f, 2.0f, 0.0f). |
uint64_t | endEntityId | Default 0. |
std::string | endSocket | |
Vec3 | endOffset | Default Vec3(0.0f, 0.0f, 0.0f). |
Vec3 | endPoint | Default Vec3(4.0f, 2.0f, 0.0f). |
bool | endFree | Default false. |
bool | debugDraw | Default false. |
float | tension | Default 0.0f. |
float | currentLength | Default 0.0f. |
Generated from Physics/Components/RopeComponent.h via physics.json · Dec 5, 2026Version 1.1.0