Rapier C — 2D / f32 0.36.0+c.0
Loading...
Searching...
No Matches
R2SoftClusterSplit Struct Reference

Cluster and proxy remapping after a soft-body split. More...

#include <rapier.h>

Data Fields

uint32_t source_cluster
 Original cluster index before splitting.
struct R2SoftBodyHandle soft_body
 Resulting soft-body handle.
uint32_t cluster
 Cluster index within its soft body.
struct R2RigidBodyHandle proxy
 Cluster rigid-proxy body handle.
R2Bool keeps_proxy
 Whether this split retains the original proxy.

Detailed Description

Cluster and proxy remapping after a soft-body split.

Field Documentation

◆ cluster

uint32_t R2SoftClusterSplit::cluster

Cluster index within its soft body.

◆ keeps_proxy

R2Bool R2SoftClusterSplit::keeps_proxy

Whether this split retains the original proxy.

◆ proxy

struct R2RigidBodyHandle R2SoftClusterSplit::proxy

Cluster rigid-proxy body handle.

◆ soft_body

struct R2SoftBodyHandle R2SoftClusterSplit::soft_body

Resulting soft-body handle.

◆ source_cluster

uint32_t R2SoftClusterSplit::source_cluster

Original cluster index before splitting.


The documentation for this struct was generated from the following file: