RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Data Fields
RoR::FreeForce Struct Reference

Global force affecting particular (base) node of particular (base) actor; added ad-hoc by scripts. More...

#include <SimData.h>

+ Collaboration diagram for RoR::FreeForce:

Data Fields

FreeForceID_t ffc_id = FREEFORCEID_INVALID
 
FreeForceType ffc_type = FreeForceType::DUMMY
 
float ffc_force_magnitude = 0.f
 
ActorPtr ffc_base_actor
 
NodeNum_t ffc_base_node = NODENUM_INVALID
 
Ogre::Vector3 ffc_force_const_direction = Ogre::Vector3::ZERO
 Expected to be normalized; only effective with FreeForceType::CONSTANT More...
 
Ogre::Vector3 ffc_target_coords = Ogre::Vector3::ZERO
 
ActorPtr ffc_target_actor
 
NodeNum_t ffc_target_node = NODENUM_INVALID
 
float ffc_halfb_spring = DEFAULT_SPRING
 
float ffc_halfb_damp = DEFAULT_DAMP
 
float ffc_halfb_deform = BEAM_DEFORM
 
float ffc_halfb_strength = BEAM_BREAK
 Breaking threshold. More...
 
float ffc_halfb_diameter = DEFAULT_BEAM_DIAMETER
 
float ffc_halfb_plastic_coef = BEAM_PLASTIC_COEF_DEFAULT
 
float ffc_halfb_L = 0.f
 Length at rest, including permanent deformations. More...
 
float ffc_halfb_stress = 0.f
 
float ffc_halfb_minmaxposnegstress = 0.f
 
float ffc_halfb_maxposstress = 0.f
 
float ffc_halfb_maxnegstress = 0.f
 

Detailed Description

Global force affecting particular (base) node of particular (base) actor; added ad-hoc by scripts.

Definition at line 754 of file SimData.h.

Field Documentation

◆ ffc_base_actor

ActorPtr RoR::FreeForce::ffc_base_actor

Definition at line 760 of file SimData.h.

◆ ffc_base_node

NodeNum_t RoR::FreeForce::ffc_base_node = NODENUM_INVALID

Definition at line 761 of file SimData.h.

◆ ffc_force_const_direction

Ogre::Vector3 RoR::FreeForce::ffc_force_const_direction = Ogre::Vector3::ZERO

Expected to be normalized; only effective with FreeForceType::CONSTANT

Definition at line 763 of file SimData.h.

◆ ffc_force_magnitude

float RoR::FreeForce::ffc_force_magnitude = 0.f

Definition at line 759 of file SimData.h.

◆ ffc_halfb_damp

float RoR::FreeForce::ffc_halfb_damp = DEFAULT_DAMP

Definition at line 769 of file SimData.h.

◆ ffc_halfb_deform

float RoR::FreeForce::ffc_halfb_deform = BEAM_DEFORM

Definition at line 770 of file SimData.h.

◆ ffc_halfb_diameter

float RoR::FreeForce::ffc_halfb_diameter = DEFAULT_BEAM_DIAMETER

Definition at line 772 of file SimData.h.

◆ ffc_halfb_L

float RoR::FreeForce::ffc_halfb_L = 0.f

Length at rest, including permanent deformations.

Definition at line 775 of file SimData.h.

◆ ffc_halfb_maxnegstress

float RoR::FreeForce::ffc_halfb_maxnegstress = 0.f

Definition at line 779 of file SimData.h.

◆ ffc_halfb_maxposstress

float RoR::FreeForce::ffc_halfb_maxposstress = 0.f

Definition at line 778 of file SimData.h.

◆ ffc_halfb_minmaxposnegstress

float RoR::FreeForce::ffc_halfb_minmaxposnegstress = 0.f

Definition at line 777 of file SimData.h.

◆ ffc_halfb_plastic_coef

float RoR::FreeForce::ffc_halfb_plastic_coef = BEAM_PLASTIC_COEF_DEFAULT

Definition at line 773 of file SimData.h.

◆ ffc_halfb_spring

float RoR::FreeForce::ffc_halfb_spring = DEFAULT_SPRING

Definition at line 768 of file SimData.h.

◆ ffc_halfb_strength

float RoR::FreeForce::ffc_halfb_strength = BEAM_BREAK

Breaking threshold.

Definition at line 771 of file SimData.h.

◆ ffc_halfb_stress

float RoR::FreeForce::ffc_halfb_stress = 0.f

Definition at line 776 of file SimData.h.

◆ ffc_id

FreeForceID_t RoR::FreeForce::ffc_id = FREEFORCEID_INVALID

Definition at line 757 of file SimData.h.

◆ ffc_target_actor

ActorPtr RoR::FreeForce::ffc_target_actor

Definition at line 765 of file SimData.h.

◆ ffc_target_coords

Ogre::Vector3 RoR::FreeForce::ffc_target_coords = Ogre::Vector3::ZERO

Definition at line 764 of file SimData.h.

◆ ffc_target_node

NodeNum_t RoR::FreeForce::ffc_target_node = NODENUM_INVALID

Definition at line 766 of file SimData.h.

◆ ffc_type

FreeForceType RoR::FreeForce::ffc_type = FreeForceType::DUMMY

Definition at line 758 of file SimData.h.


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