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
 

Detailed Description

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

Definition at line 751 of file SimData.h.

Field Documentation

◆ ffc_base_actor

ActorPtr RoR::FreeForce::ffc_base_actor

Definition at line 757 of file SimData.h.

◆ ffc_base_node

NodeNum_t RoR::FreeForce::ffc_base_node = NODENUM_INVALID

Definition at line 758 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 760 of file SimData.h.

◆ ffc_force_magnitude

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

Definition at line 756 of file SimData.h.

◆ ffc_id

FreeForceID_t RoR::FreeForce::ffc_id = FREEFORCEID_INVALID

Definition at line 754 of file SimData.h.

◆ ffc_target_actor

ActorPtr RoR::FreeForce::ffc_target_actor

Definition at line 762 of file SimData.h.

◆ ffc_target_coords

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

Definition at line 761 of file SimData.h.

◆ ffc_target_node

NodeNum_t RoR::FreeForce::ffc_target_node = NODENUM_INVALID

Definition at line 763 of file SimData.h.

◆ ffc_type

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

Definition at line 755 of file SimData.h.


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