CS::Physics::iSoftBodyFactory Struct Reference
Factory for the creation of instances of iSoftBody. More...
#include <ivaria/physics.h>

Public Member Functions | |
| virtual csPtr< iSoftBody > | CreateSoftBody ()=0 |
| Create a soft body. | |
| virtual void | GenerateBendingConstraints (size_t distance)=0 |
| Generate bending constraints between the vertices of this soft body. | |
| virtual void | SetAnchorsHardness (float hardness)=0 |
| Set anchors hardness [0,1]. The default value is 0.7f. | |
| virtual void | SetAngularStiffness (float stiffness)=0 |
| Set area/angular stiffness coefficient [0,1]. The default value is 1.0f. | |
| virtual void | SetDamping (float damping)=0 |
| Set damping coefficient [0,1]. The default value is 0.0f. | |
| virtual void | SetDrag (float drag)=0 |
| Set drag coefficient [0,+inf]. The default value is 0.0f. | |
| virtual void | SetKContactsHardness (float hardness)=0 |
| Set kinetic contacts hardness [0,1]. The default value is 0.1f. | |
| virtual void | SetLift (float lift)=0 |
| Set lift coefficient [0,+inf]. The default value is 0.0f. | |
| virtual void | SetLinearStiffness (float stiffness)=0 |
| Set linear stiffness coefficient [0,1]. The default value is 1.0f. | |
| virtual void | SetPressure (float pressure)=0 |
| Set pressure coefficient [-inf,+inf]. The default value is 0.0f. | |
| virtual void | SetRContactsHardness (float hardness)=0 |
| Set rigid contacts hardness [0,1]. The default value is 1.0f. | |
| virtual void | SetSContactsHardness (float hardness)=0 |
| Set soft contacts hardness [0,1]. The default value is 1.0f. | |
| virtual void | SetShapeMatching (bool match)=0 |
| Set true in order to use pose matching. The default value is . | |
| virtual void | SetShapeMatchThreshold (float matching)=0 |
| Set pose matching coefficient [0,1]. The default value is 0.0f. | |
| virtual void | SetSKHardness (float hardness)=0 |
| Set soft vs kinetic hardness [0,1] (cluster only). The default value is 1.0f. | |
| virtual void | SetSKImpulse (float impulse)=0 |
| Set soft vs rigid impulse split [0,1] (cluster only). The default value is 0.5f. | |
| virtual void | SetSRHardness (float hardness)=0 |
| Set soft vs rigid hardness [0,1] (cluster only). The default value is 0.1f. | |
| virtual void | SetSRImpulse (float impulse)=0 |
| Set soft vs rigid impulse split [0,1] (cluster only). The default value is 0.5f. | |
| virtual void | SetSSHardness (float hardness)=0 |
| Set soft vs soft hardness [0,1] (cluster only). The default value is 0.5f. | |
| virtual void | SetSSImpulse (float impulse)=0 |
| Set soft vs rigid impulse split [0,1] (cluster only). The default value is 0.5f. | |
| virtual void | SetVolumeConversationCoefficient (float conversation)=0 |
| Set volume conversation coefficient [0,+inf]. The default value is 0.0f. | |
| virtual void | SetVolumeStiffness (float stiffness)=0 |
| Set volume stiffness coefficient [0,1]. The default value is 1.0f. | |
Detailed Description
Factory for the creation of instances of iSoftBody.
Definition at line 432 of file physics.h.
Member Function Documentation
Create a soft body.
| virtual void CS::Physics::iSoftBodyFactory::GenerateBendingConstraints | ( | size_t | distance | ) | [pure virtual] |
Generate bending constraints between the vertices of this soft body.
This can be used to make the body more rigid.
- Parameters:
-
distance Maximum number of triangle edges that can exist between two vertices in order to have a constraint generated for this pair of vertices. Typical values are 2 or 3.
| virtual void CS::Physics::iSoftBodyFactory::SetAnchorsHardness | ( | float | hardness | ) | [pure virtual] |
Set anchors hardness [0,1]. The default value is 0.7f.
| virtual void CS::Physics::iSoftBodyFactory::SetAngularStiffness | ( | float | stiffness | ) | [pure virtual] |
Set area/angular stiffness coefficient [0,1]. The default value is 1.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetDamping | ( | float | damping | ) | [pure virtual] |
Set damping coefficient [0,1]. The default value is 0.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetDrag | ( | float | drag | ) | [pure virtual] |
Set drag coefficient [0,+inf]. The default value is 0.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetKContactsHardness | ( | float | hardness | ) | [pure virtual] |
Set kinetic contacts hardness [0,1]. The default value is 0.1f.
| virtual void CS::Physics::iSoftBodyFactory::SetLift | ( | float | lift | ) | [pure virtual] |
Set lift coefficient [0,+inf]. The default value is 0.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetLinearStiffness | ( | float | stiffness | ) | [pure virtual] |
Set linear stiffness coefficient [0,1]. The default value is 1.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetPressure | ( | float | pressure | ) | [pure virtual] |
Set pressure coefficient [-inf,+inf]. The default value is 0.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetRContactsHardness | ( | float | hardness | ) | [pure virtual] |
Set rigid contacts hardness [0,1]. The default value is 1.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetSContactsHardness | ( | float | hardness | ) | [pure virtual] |
Set soft contacts hardness [0,1]. The default value is 1.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetShapeMatching | ( | bool | match | ) | [pure virtual] |
Set true in order to use pose matching. The default value is .
| virtual void CS::Physics::iSoftBodyFactory::SetShapeMatchThreshold | ( | float | matching | ) | [pure virtual] |
Set pose matching coefficient [0,1]. The default value is 0.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetSKHardness | ( | float | hardness | ) | [pure virtual] |
Set soft vs kinetic hardness [0,1] (cluster only). The default value is 1.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetSKImpulse | ( | float | impulse | ) | [pure virtual] |
Set soft vs rigid impulse split [0,1] (cluster only). The default value is 0.5f.
| virtual void CS::Physics::iSoftBodyFactory::SetSRHardness | ( | float | hardness | ) | [pure virtual] |
Set soft vs rigid hardness [0,1] (cluster only). The default value is 0.1f.
| virtual void CS::Physics::iSoftBodyFactory::SetSRImpulse | ( | float | impulse | ) | [pure virtual] |
Set soft vs rigid impulse split [0,1] (cluster only). The default value is 0.5f.
| virtual void CS::Physics::iSoftBodyFactory::SetSSHardness | ( | float | hardness | ) | [pure virtual] |
Set soft vs soft hardness [0,1] (cluster only). The default value is 0.5f.
| virtual void CS::Physics::iSoftBodyFactory::SetSSImpulse | ( | float | impulse | ) | [pure virtual] |
Set soft vs rigid impulse split [0,1] (cluster only). The default value is 0.5f.
| virtual void CS::Physics::iSoftBodyFactory::SetVolumeConversationCoefficient | ( | float | conversation | ) | [pure virtual] |
Set volume conversation coefficient [0,+inf]. The default value is 0.0f.
| virtual void CS::Physics::iSoftBodyFactory::SetVolumeStiffness | ( | float | stiffness | ) | [pure virtual] |
Set volume stiffness coefficient [0,1]. The default value is 1.0f.
The documentation for this struct was generated from the following file:
- ivaria/physics.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
