RigsofRods
Soft-body Physics Simulation
Data Fields
RoR::commandbeam_t Struct Reference

#include <SimData.h>

Data Fields

uint16_t cmb_beam_index
 Index to Actor::ar_beams array. More...
 
float cmb_engine_coupling
 Attr from truckfile. More...
 
float cmb_center_length
 Attr computed at spawn. More...
 
float cmb_speed
 Attr; Rate of contraction/extension. More...
 
float cmb_boundary_length
 Attr; Maximum/minimum length proportional to orig. len. More...
 
bool cmb_is_contraction:1
 Attribute defined at spawn. More...
 
bool cmb_is_force_restricted:1
 Attribute defined in truckfile. More...
 
bool cmb_needs_engine:1
 Attribute defined in truckfile. More...
 
bool cmb_is_autocentering:1
 Attribute defined in truckfile. More...
 
bool cmb_plays_sound:1
 Attribute defined in truckfile. More...
 
bool cmb_is_1press:1
 Attribute defined in truckfile. More...
 
bool cmb_is_1press_center:1
 Attribute defined in truckfile. More...
 
std::shared_ptr< commandbeam_state_tcmb_state
 

Detailed Description

Definition at line 554 of file SimData.h.

Field Documentation

◆ cmb_beam_index

uint16_t RoR::commandbeam_t::cmb_beam_index

Index to Actor::ar_beams array.

Definition at line 556 of file SimData.h.

◆ cmb_boundary_length

float RoR::commandbeam_t::cmb_boundary_length

Attr; Maximum/minimum length proportional to orig. len.

Definition at line 560 of file SimData.h.

◆ cmb_center_length

float RoR::commandbeam_t::cmb_center_length

Attr computed at spawn.

Definition at line 558 of file SimData.h.

◆ cmb_engine_coupling

float RoR::commandbeam_t::cmb_engine_coupling

Attr from truckfile.

Definition at line 557 of file SimData.h.

◆ cmb_is_1press

bool RoR::commandbeam_t::cmb_is_1press

Attribute defined in truckfile.

Definition at line 568 of file SimData.h.

◆ cmb_is_1press_center

bool RoR::commandbeam_t::cmb_is_1press_center

Attribute defined in truckfile.

Definition at line 569 of file SimData.h.

◆ cmb_is_autocentering

bool RoR::commandbeam_t::cmb_is_autocentering

Attribute defined in truckfile.

Definition at line 566 of file SimData.h.

◆ cmb_is_contraction

bool RoR::commandbeam_t::cmb_is_contraction

Attribute defined at spawn.

Definition at line 563 of file SimData.h.

◆ cmb_is_force_restricted

bool RoR::commandbeam_t::cmb_is_force_restricted

Attribute defined in truckfile.

Definition at line 564 of file SimData.h.

◆ cmb_needs_engine

bool RoR::commandbeam_t::cmb_needs_engine

Attribute defined in truckfile.

Definition at line 565 of file SimData.h.

◆ cmb_plays_sound

bool RoR::commandbeam_t::cmb_plays_sound

Attribute defined in truckfile.

Definition at line 567 of file SimData.h.

◆ cmb_speed

float RoR::commandbeam_t::cmb_speed

Attr; Rate of contraction/extension.

Definition at line 559 of file SimData.h.

◆ cmb_state

std::shared_ptr<commandbeam_state_t> RoR::commandbeam_t::cmb_state

Definition at line 571 of file SimData.h.


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