RigsofRods
Soft-body Physics Simulation
|
A mesh attached to vehicle frame via 3 nodes. More...
#include <GfxData.h>
Public Member Functions | |
void | setPropMeshesVisible (bool visible) |
Data Fields | |
PropID_t | pp_id = PROPID_INVALID |
NodeNum_t | pp_node_ref = NODENUM_INVALID |
NodeNum_t | pp_node_x = NODENUM_INVALID |
NodeNum_t | pp_node_y = NODENUM_INVALID |
Ogre::Vector3 | pp_offset = Ogre::Vector3::ZERO |
Ogre::Vector3 | pp_offset_orig = Ogre::Vector3::ZERO |
Used with ANIM_FLAG_OFFSET*. More... | |
Ogre::Vector3 | pp_rota = Ogre::Vector3::ZERO |
Ogre::Quaternion | pp_rot = Ogre::Quaternion::IDENTITY |
Ogre::SceneNode * | pp_scene_node = nullptr |
The pivot scene node (parented to root-node). More... | |
MeshObject * | pp_mesh_obj = nullptr |
Optional; NULL if removed via tuneup/addonpart. More... | |
std::string | pp_media [2] |
Redundant, for Tuning UI. Media1 = prop mesh name, Media2 = steeringwheel mesh/beaconprop flare mat. More... | |
std::vector< PropAnim > | pp_animations |
MeshObject * | pp_wheel_mesh_obj = nullptr |
Ogre::Vector3 | pp_wheel_pos = Ogre::Vector3::ZERO |
Ogre::SceneNode * | pp_wheel_scene_node = nullptr |
float | pp_wheel_rot_degree = 0 |
char | pp_beacon_type = 0 |
Special prop: beacon {0 = none, 'b' = user-specified, 'r' = red, 'p' = police lightbar, 'L'/'R'/'w' - aircraft wings}. More... | |
Ogre::BillboardSet * | pp_beacon_bbs [4] = {} |
Ogre::SceneNode * | pp_beacon_scene_node [4] = {} |
Ogre::Light * | pp_beacon_light [4] = {} |
float | pp_beacon_rot_rate [4] = {} |
Radians per second. More... | |
float | pp_beacon_rot_angle [4] = {} |
Radians. More... | |
int | pp_aero_engine_idx = -1 |
Special - a turboprop/pistonprop reference. More... | |
bool | pp_aero_propeller_blade = false |
Special - single blade mesh. More... | |
bool | pp_aero_propeller_spin = false |
Special - blurred spinning propeller effect. More... | |
Visibility control (same as flexbody - see file FlexBody.h) | |
CameraMode_t | pp_camera_mode_active = CAMERA_MODE_ALWAYS_VISIBLE |
Dynamic visibility mode {0 and higher = cinecam index}. More... | |
CameraMode_t | pp_camera_mode_orig = CAMERA_MODE_ALWAYS_VISIBLE |
Dynamic visibility mode {0 and higher = cinecam index}. More... | |
|
inline |
int RoR::Prop::pp_aero_engine_idx = -1 |
bool RoR::Prop::pp_aero_propeller_blade = false |
bool RoR::Prop::pp_aero_propeller_spin = false |
float RoR::Prop::pp_beacon_rot_rate[4] = {} |
char RoR::Prop::pp_beacon_type = 0 |
CameraMode_t RoR::Prop::pp_camera_mode_active = CAMERA_MODE_ALWAYS_VISIBLE |
CameraMode_t RoR::Prop::pp_camera_mode_orig = CAMERA_MODE_ALWAYS_VISIBLE |
PropID_t RoR::Prop::pp_id = PROPID_INVALID |
std::string RoR::Prop::pp_media[2] |
MeshObject* RoR::Prop::pp_mesh_obj = nullptr |
NodeNum_t RoR::Prop::pp_node_ref = NODENUM_INVALID |
NodeNum_t RoR::Prop::pp_node_x = NODENUM_INVALID |
NodeNum_t RoR::Prop::pp_node_y = NODENUM_INVALID |
Ogre::Vector3 RoR::Prop::pp_offset_orig = Ogre::Vector3::ZERO |
Ogre::Quaternion RoR::Prop::pp_rot = Ogre::Quaternion::IDENTITY |
Ogre::SceneNode* RoR::Prop::pp_scene_node = nullptr |
MeshObject* RoR::Prop::pp_wheel_mesh_obj = nullptr |
Ogre::Vector3 RoR::Prop::pp_wheel_pos = Ogre::Vector3::ZERO |