CS::Physics::Bullet::SoftBodyHelper Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions
CS::Physics::Bullet::SoftBodyHelper Struct Reference

General helper class for CS::Physics::Bullet::iSoftBody. More...

`#include <ivaria/bullet.h>`

List of all members.

## Static Public Member Functions
static csPtr< iMeshFactoryWrapper > | CreateClothGenMeshFactory (iObjectRegistry *object_reg, const char *factoryName, iSoftBody *cloth)
| Create a genmesh from the given cloth soft body.

## Detailed Description

General helper class for CS::Physics::Bullet::iSoftBody.

Definition at line 562 of file bullet.h.

## Member Function Documentation

static csPtr<iMeshFactoryWrapper> CS::Physics::Bullet::SoftBodyHelper::CreateClothGenMeshFactory | ( | iObjectRegistry * | object_reg,
|  | const char * | factoryName,
|  | iSoftBody * | cloth
| ) |  | `[inline, static]`

Create a genmesh from the given cloth soft body.

The genmesh will be double sided, in order to have correct normals on both sides of the cloth (ie the vertices of the soft body will be duplicated for the genmesh). The duplication mode of the faces of the mesh generated is CS::Physics::Bullet::MESH_DUPLICATION_CONTIGUOUS, that parameter can therefore be used e.g. in CS::Animation::iSoftBodyAnimationControl::SetSoftBody().

Definition at line 573 of file bullet.h.

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

- ivaria/bullet.h