|
Wavelength
Privacy-focused, cross-platform, and open-source communication application
|
Structure holding parameters controlling the physics simulation of the blob. More...
#include <blob_config.h>
Public Attributes | |
| double | damping = 0.91 |
| Factor by which velocity is reduced each frame (0.0 to 1.0). Controls how quickly movement stops. | |
| double | max_neighbor_distance = 0.6 |
| Maximum allowed distance between neighboring control points (relative to radius). | |
| double | max_speed = 0.05 |
| Maximum speed limit for individual control points (prevents instability). | |
| double | min_neighbor_distance = 0.1 |
| Minimum allowed distance between neighboring control points (relative to radius). | |
| double | restitution = 0.2 |
| Bounciness factor for border collisions (0.0 = no bounce, 1.0 = full bounce). | |
| double | stabilization_rate = 0.001 |
| Rate at which the blob returns to a more circular shape when idle (0.0 to 1.0). | |
| double | velocity_threshold = 0.1 |
| Minimum velocity magnitude considered significant (used for state transitions). | |
| double | viscosity = 0.015 |
| Resistance to internal deformation (higher values make it more rigid). | |
Structure holding parameters controlling the physics simulation of the blob.
| double BlobConfig::PhysicsParameters::damping = 0.91 |
Factor by which velocity is reduced each frame (0.0 to 1.0). Controls how quickly movement stops.
| double BlobConfig::PhysicsParameters::max_neighbor_distance = 0.6 |
Maximum allowed distance between neighboring control points (relative to radius).
| double BlobConfig::PhysicsParameters::max_speed = 0.05 |
Maximum speed limit for individual control points (prevents instability).
| double BlobConfig::PhysicsParameters::min_neighbor_distance = 0.1 |
Minimum allowed distance between neighboring control points (relative to radius).
| double BlobConfig::PhysicsParameters::restitution = 0.2 |
Bounciness factor for border collisions (0.0 = no bounce, 1.0 = full bounce).
| double BlobConfig::PhysicsParameters::stabilization_rate = 0.001 |
Rate at which the blob returns to a more circular shape when idle (0.0 to 1.0).
| double BlobConfig::PhysicsParameters::velocity_threshold = 0.1 |
Minimum velocity magnitude considered significant (used for state transitions).
| double BlobConfig::PhysicsParameters::viscosity = 0.015 |
Resistance to internal deformation (higher values make it more rigid).