Soft-body Physics Simulation
Public Member Functions | Data Fields
RoR::beam_t Struct Reference

Simulation: An edge in the softbody structure. More...

#include <SimData.h>

+ Collaboration diagram for RoR::beam_t:

Public Member Functions

 beam_t ()

Data Fields

Ogre::Real k
 tensile spring More...
Ogre::Real d
 damping factor More...
Ogre::Real L
 length More...
Ogre::Real minmaxposnegstress
Ogre::Real maxposstress
Ogre::Real maxnegstress
Ogre::Real strength
Ogre::Real stress
Ogre::Real plastic_coef
int detacher_group
 Attribute: detacher group number (integer) More...
SpecialBeam bounded
BeamType bm_type
bool bm_inter_actor
 in case p2 is on another actor More...
ActorPtr bm_locked_actor
 in case p2 is on another actor More...
bool bm_disabled
bool bm_broken
Ogre::Real shortbound
Ogre::Real longbound
Ogre::Real refL
 reference length More...
Ogre::Real initial_beam_strength
 for reset More...
Ogre::Real default_beam_deform
 for reset More...
Ogre::Real debug_k
 debug shock spring_rate More...
Ogre::Real debug_d
 debug shock damping More...
Ogre::Real debug_v
 debug shock velocity More...

Detailed Description

Simulation: An edge in the softbody structure.

Definition at line 341 of file SimData.h.

Constructor & Destructor Documentation

◆ beam_t()

RoR::beam_t::beam_t ( )

Definition at line 343 of file SimData.h.

Field Documentation

◆ bm_broken

bool RoR::beam_t::bm_broken

Definition at line 362 of file SimData.h.

◆ bm_disabled

bool RoR::beam_t::bm_disabled

Definition at line 361 of file SimData.h.

◆ bm_inter_actor

bool RoR::beam_t::bm_inter_actor

in case p2 is on another actor

Definition at line 359 of file SimData.h.

◆ bm_locked_actor

ActorPtr RoR::beam_t::bm_locked_actor

in case p2 is on another actor

Definition at line 360 of file SimData.h.

◆ bm_type

BeamType RoR::beam_t::bm_type

Definition at line 358 of file SimData.h.

◆ bounded

SpecialBeam RoR::beam_t::bounded

Definition at line 357 of file SimData.h.

◆ d

Ogre::Real RoR::beam_t::d

damping factor

Definition at line 348 of file SimData.h.

◆ debug_d

Ogre::Real RoR::beam_t::debug_d

debug shock damping

Definition at line 374 of file SimData.h.

◆ debug_k

Ogre::Real RoR::beam_t::debug_k

debug shock spring_rate

Definition at line 373 of file SimData.h.

◆ debug_v

Ogre::Real RoR::beam_t::debug_v

debug shock velocity

Definition at line 375 of file SimData.h.

◆ default_beam_deform

Ogre::Real RoR::beam_t::default_beam_deform

for reset

Definition at line 371 of file SimData.h.

◆ detacher_group

int RoR::beam_t::detacher_group

Attribute: detacher group number (integer)

Definition at line 356 of file SimData.h.

◆ initial_beam_strength

Ogre::Real RoR::beam_t::initial_beam_strength

for reset

Definition at line 370 of file SimData.h.

◆ k

Ogre::Real RoR::beam_t::k

tensile spring

Definition at line 347 of file SimData.h.

◆ L

Ogre::Real RoR::beam_t::L


Definition at line 349 of file SimData.h.

◆ longbound

Ogre::Real RoR::beam_t::longbound

Definition at line 365 of file SimData.h.

◆ maxnegstress

Ogre::Real RoR::beam_t::maxnegstress

Definition at line 352 of file SimData.h.

◆ maxposstress

Ogre::Real RoR::beam_t::maxposstress

Definition at line 351 of file SimData.h.

◆ minmaxposnegstress

Ogre::Real RoR::beam_t::minmaxposnegstress

Definition at line 350 of file SimData.h.

◆ p1

node_t* RoR::beam_t::p1

Definition at line 345 of file SimData.h.

◆ p2

node_t* RoR::beam_t::p2

Definition at line 346 of file SimData.h.

◆ plastic_coef

Ogre::Real RoR::beam_t::plastic_coef

Definition at line 355 of file SimData.h.

◆ refL

Ogre::Real RoR::beam_t::refL

reference length

Definition at line 366 of file SimData.h.

◆ shock

shock_t* RoR::beam_t::shock

Definition at line 368 of file SimData.h.

◆ shortbound

Ogre::Real RoR::beam_t::shortbound

Definition at line 364 of file SimData.h.

◆ strength

Ogre::Real RoR::beam_t::strength

Definition at line 353 of file SimData.h.

◆ stress

Ogre::Real RoR::beam_t::stress

Definition at line 354 of file SimData.h.

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