|
SuperDex Physics C++ API
|
Parameters to create a rod actor. More...
#include <mochi_structs.h>
Public Member Functions | |
| bool | operator== (RodActorParams const &) const =default |
Public Attributes | |
| ColliderType | colliderType = ColliderType::None |
| Collider type. | |
| ContactParams | contact |
| Contact properties for interactions with volume actors. | |
| ActorSegmentElementType | contactElementType = ActorSegmentElementType::Default |
| Element type controlling the number of contact samples per segment. | |
| ActorBoundaryElementType | contactSkinElementType = ActorBoundaryElementType::Default |
| Triangle element type for contact-skin quadrature. | |
| bool | hasGravity = true |
| Enables gravity. | |
| DynamicString | layer |
| Contact layer name. | |
| RodMaterialParams | material = {} |
| Rod material properties. | |
| DynamicString | name |
| Actor name. | |
| PointCloudColliderParams | pointCloudCollider = {} |
| Geometric and logical properties of the point-cloud collider. | |
| ShapeHandle | shape |
| Shape handle defining the rod geometry. | |
| bool | useContactSkin = false |
| Use the rod shape's contact skin for contact instead of its centerline. | |
| TransformRT | worldFromLocal = TransformRT::Identity() |
| World-from-local transform applied to the shape. | |
Parameters to create a rod actor.
A rod actor is a 1D deformable body whose geometry is a polyline.
Definition at line 250 of file mochi_structs.h.
|
default |
| ColliderType superdex::RodActorParams::colliderType = ColliderType::None |
Collider type.
Set to ColliderType::PointCloud or ColliderType::Auto to enable point-cloud contact.
Definition at line 265 of file mochi_structs.h.
| ContactParams superdex::RodActorParams::contact |
Contact properties for interactions with volume actors.
Definition at line 259 of file mochi_structs.h.
| ActorSegmentElementType superdex::RodActorParams::contactElementType = ActorSegmentElementType::Default |
Element type controlling the number of contact samples per segment.
Definition at line 261 of file mochi_structs.h.
| ActorBoundaryElementType superdex::RodActorParams::contactSkinElementType = ActorBoundaryElementType::Default |
Triangle element type for contact-skin quadrature.
Definition at line 273 of file mochi_structs.h.
| bool superdex::RodActorParams::hasGravity = true |
Enables gravity.
Definition at line 269 of file mochi_structs.h.
| DynamicString superdex::RodActorParams::layer |
Contact layer name.
Definition at line 253 of file mochi_structs.h.
| RodMaterialParams superdex::RodActorParams::material = {} |
Rod material properties.
Definition at line 263 of file mochi_structs.h.
| DynamicString superdex::RodActorParams::name |
Actor name.
Definition at line 251 of file mochi_structs.h.
| PointCloudColliderParams superdex::RodActorParams::pointCloudCollider = {} |
Geometric and logical properties of the point-cloud collider.
Definition at line 267 of file mochi_structs.h.
| ShapeHandle superdex::RodActorParams::shape |
Shape handle defining the rod geometry.
Must be a polyline shape.
Definition at line 257 of file mochi_structs.h.
| bool superdex::RodActorParams::useContactSkin = false |
Use the rod shape's contact skin for contact instead of its centerline.
Actor creation fails if the shape does not have a contact skin.
Definition at line 271 of file mochi_structs.h.
| TransformRT superdex::RodActorParams::worldFromLocal = TransformRT::Identity() |
World-from-local transform applied to the shape.
Definition at line 255 of file mochi_structs.h.