RigsofRods
Soft-body Physics Simulation
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 788 of file SimData.h.

Field Documentation

◆ ffc_base_actor

ActorPtr RoR::FreeForce::ffc_base_actor

Definition at line 794 of file SimData.h.

◆ ffc_base_node

NodeNum_t RoR::FreeForce::ffc_base_node = NODENUM_INVALID

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

◆ ffc_force_magnitude

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

Definition at line 793 of file SimData.h.

◆ ffc_id

FreeForceID_t RoR::FreeForce::ffc_id = FREEFORCEID_INVALID

Definition at line 791 of file SimData.h.

◆ ffc_target_actor

ActorPtr RoR::FreeForce::ffc_target_actor

Definition at line 799 of file SimData.h.

◆ ffc_target_coords

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

Definition at line 798 of file SimData.h.

◆ ffc_target_node

NodeNum_t RoR::FreeForce::ffc_target_node = NODENUM_INVALID

Definition at line 800 of file SimData.h.

◆ ffc_type

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

Definition at line 792 of file SimData.h.


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