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

#include <SimData.h>

+ Collaboration diagram for RoR::wheel_t:

Data Fields

int wh_num_nodes
 
node_twh_nodes [50]
 
int wh_num_rim_nodes
 
node_twh_rim_nodes [50]
 
WheelBraking wh_braking
 
node_twh_arm_node
 
node_twh_near_attach_node
 
node_twh_axis_node_0
 
node_twh_axis_node_1
 
WheelPropulsion wh_propulsed
 
Ogre::Real wh_radius
 
Ogre::Real wh_rim_radius
 
Ogre::Real wh_speed
 Current wheel speed in m/s. More...
 
Ogre::Real wh_avg_speed
 Internal physics state; Do not read from this. More...
 
Ogre::Real wh_alb_coef
 Sim state; Current anti-lock brake modulation ratio. More...
 
Ogre::Real wh_tc_coef
 Sim state; Current traction control modulation ratio. More...
 
Ogre::Real wh_mass
 Total rotational mass of the wheel. More...
 
Ogre::Real wh_torque
 Internal physics state; Do not read from this. More...
 
Ogre::Real wh_last_torque
 Last internal forces (engine / brakes / diffs) More...
 
Ogre::Real wh_last_retorque
 Last external forces (friction, ...) More...
 
float wh_net_rp
 
float wh_width
 
bool wh_is_detached
 
RigDef::Keyword wh_arg_keyword
 
int wh_arg_num_rays
 
NodeNum_t wh_arg_rigidity_node
 
float wh_arg_rim_spring
 Not used by 'wheels' (1) and 'meshwheels' (1). More...
 
float wh_arg_rim_damping
 Not used by 'wheels' (1) and 'meshwheels' (1). More...
 
float wh_arg_simple_spring
 Whole wheel or just tire, depending on type. More...
 
float wh_arg_simple_damping
 Whole wheel or just tire, depending on type. More...
 
WheelSide wh_arg_side
 Only for 'meshwheels*' and 'flexbodywheels'. More...
 
std::string wh_arg_media1
 
std::string wh_arg_media2
 
int wh_beam_start
 BeamID to export 'set_beam_defaults' parameters from. More...
 
float debug_rpm
 
float debug_torque
 
Ogre::Vector3 debug_vel
 
Ogre::Vector3 debug_slip
 
Ogre::Vector3 debug_force
 
Ogre::Vector3 debug_scaled_cforce
 

Detailed Description

Definition at line 399 of file SimData.h.

Field Documentation

◆ debug_force

Ogre::Vector3 RoR::wheel_t::debug_force

Definition at line 443 of file SimData.h.

◆ debug_rpm

float RoR::wheel_t::debug_rpm

Definition at line 439 of file SimData.h.

◆ debug_scaled_cforce

Ogre::Vector3 RoR::wheel_t::debug_scaled_cforce

Definition at line 444 of file SimData.h.

◆ debug_slip

Ogre::Vector3 RoR::wheel_t::debug_slip

Definition at line 442 of file SimData.h.

◆ debug_torque

float RoR::wheel_t::debug_torque

Definition at line 440 of file SimData.h.

◆ debug_vel

Ogre::Vector3 RoR::wheel_t::debug_vel

Definition at line 441 of file SimData.h.

◆ wh_alb_coef

Ogre::Real RoR::wheel_t::wh_alb_coef

Sim state; Current anti-lock brake modulation ratio.

Definition at line 415 of file SimData.h.

◆ wh_arg_keyword

RigDef::Keyword RoR::wheel_t::wh_arg_keyword

Definition at line 426 of file SimData.h.

◆ wh_arg_media1

std::string RoR::wheel_t::wh_arg_media1

Definition at line 434 of file SimData.h.

◆ wh_arg_media2

std::string RoR::wheel_t::wh_arg_media2

Definition at line 435 of file SimData.h.

◆ wh_arg_num_rays

int RoR::wheel_t::wh_arg_num_rays

Definition at line 427 of file SimData.h.

◆ wh_arg_rigidity_node

NodeNum_t RoR::wheel_t::wh_arg_rigidity_node

Definition at line 428 of file SimData.h.

◆ wh_arg_rim_damping

float RoR::wheel_t::wh_arg_rim_damping

Not used by 'wheels' (1) and 'meshwheels' (1).

Definition at line 430 of file SimData.h.

◆ wh_arg_rim_spring

float RoR::wheel_t::wh_arg_rim_spring

Not used by 'wheels' (1) and 'meshwheels' (1).

Definition at line 429 of file SimData.h.

◆ wh_arg_side

WheelSide RoR::wheel_t::wh_arg_side

Only for 'meshwheels*' and 'flexbodywheels'.

Definition at line 433 of file SimData.h.

◆ wh_arg_simple_damping

float RoR::wheel_t::wh_arg_simple_damping

Whole wheel or just tire, depending on type.

Definition at line 432 of file SimData.h.

◆ wh_arg_simple_spring

float RoR::wheel_t::wh_arg_simple_spring

Whole wheel or just tire, depending on type.

Definition at line 431 of file SimData.h.

◆ wh_arm_node

node_t* RoR::wheel_t::wh_arm_node

Definition at line 406 of file SimData.h.

◆ wh_avg_speed

Ogre::Real RoR::wheel_t::wh_avg_speed

Internal physics state; Do not read from this.

Definition at line 414 of file SimData.h.

◆ wh_axis_node_0

node_t* RoR::wheel_t::wh_axis_node_0

Definition at line 408 of file SimData.h.

◆ wh_axis_node_1

node_t* RoR::wheel_t::wh_axis_node_1

Definition at line 409 of file SimData.h.

◆ wh_beam_start

int RoR::wheel_t::wh_beam_start

BeamID to export 'set_beam_defaults' parameters from.

Definition at line 436 of file SimData.h.

◆ wh_braking

WheelBraking RoR::wheel_t::wh_braking

Definition at line 405 of file SimData.h.

◆ wh_is_detached

bool RoR::wheel_t::wh_is_detached

Definition at line 423 of file SimData.h.

◆ wh_last_retorque

Ogre::Real RoR::wheel_t::wh_last_retorque

Last external forces (friction, ...)

Definition at line 420 of file SimData.h.

◆ wh_last_torque

Ogre::Real RoR::wheel_t::wh_last_torque

Last internal forces (engine / brakes / diffs)

Definition at line 419 of file SimData.h.

◆ wh_mass

Ogre::Real RoR::wheel_t::wh_mass

Total rotational mass of the wheel.

Definition at line 417 of file SimData.h.

◆ wh_near_attach_node

node_t* RoR::wheel_t::wh_near_attach_node

Definition at line 407 of file SimData.h.

◆ wh_net_rp

float RoR::wheel_t::wh_net_rp

Definition at line 421 of file SimData.h.

◆ wh_nodes

node_t* RoR::wheel_t::wh_nodes[50]

Definition at line 402 of file SimData.h.

◆ wh_num_nodes

int RoR::wheel_t::wh_num_nodes

Definition at line 401 of file SimData.h.

◆ wh_num_rim_nodes

int RoR::wheel_t::wh_num_rim_nodes

Definition at line 403 of file SimData.h.

◆ wh_propulsed

WheelPropulsion RoR::wheel_t::wh_propulsed

Definition at line 410 of file SimData.h.

◆ wh_radius

Ogre::Real RoR::wheel_t::wh_radius

Definition at line 411 of file SimData.h.

◆ wh_rim_nodes

node_t* RoR::wheel_t::wh_rim_nodes[50]

Definition at line 404 of file SimData.h.

◆ wh_rim_radius

Ogre::Real RoR::wheel_t::wh_rim_radius

Definition at line 412 of file SimData.h.

◆ wh_speed

Ogre::Real RoR::wheel_t::wh_speed

Current wheel speed in m/s.

Definition at line 413 of file SimData.h.

◆ wh_tc_coef

Ogre::Real RoR::wheel_t::wh_tc_coef

Sim state; Current traction control modulation ratio.

Definition at line 416 of file SimData.h.

◆ wh_torque

Ogre::Real RoR::wheel_t::wh_torque

Internal physics state; Do not read from this.

Definition at line 418 of file SimData.h.

◆ wh_width

float RoR::wheel_t::wh_width

Definition at line 422 of file SimData.h.


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