Softbody object; can be anything from soda can to a space shuttle Constructed from a truck definition file, see https://docs.rigsofrods.org/vehicle-creation/fileformat-truck/ To spawn in-game, use MSG_SIM_SPAWN_ACTOR_REQUESTED, see GameContext::PushMessage(), in AngelScript use game.pushMessage(); Gameplay states are described by enum ActorState.
For additional state vars see "Gameplay state" section below.
Definition at line 54 of file Actor.h.
|
| | Actor (ActorInstanceID_t actor_id, unsigned int vector_index, RigDef::DocumentPtr def, ActorSpawnRequest rq) |
| |
| virtual | ~Actor () override |
| |
| void | dispose () |
| |
| void | ForceFeedbackStep (int steps) |
| |
| void | HandleInputEvents (float dt) |
| |
| void | HandleAngelScriptEvents (float dt) |
| |
| void | UpdateCruiseControl (float dt) |
| |
| bool | Intersects (ActorPtr actor, Ogre::Vector3 offset=Ogre::Vector3::ZERO) |
| |
| void | resolveCollisions (Ogre::Vector3 direction) |
| |
| void | resolveCollisions (float max_distance, bool consider_up) |
| |
| float | getSteeringAngle () |
| |
| float | getMinCameraRadius () |
| |
| int | GetNumActiveConnectedBeams (int nodeid) |
| |
| void | NotifyActorCameraChanged () |
| |
| float | getAvgPropedWheelRadius () |
| |
| void | UpdateBoundingBoxes () |
| |
| void | calculateAveragePosition () |
| |
| void | UpdatePhysicsOrigin () |
| |
| void | SoftReset () |
| |
| void | SyncReset (bool reset_position) |
| |
| void | WriteDiagnosticDump (std::string const &filename) |
| |
| Ogre::Vector3 | GetCameraDir () |
| |
| Ogre::Vector3 | GetCameraRoll () |
| |
| Ogre::Vector3 | GetFFbBodyForces () const |
| |
| GfxActor * | GetGfxActor () |
| |
| void | RequestUpdateHudFeatures () |
| |
| Ogre::Real | getMinimalCameraRadius () |
| |
| float | GetFFbHydroForces () const |
| |
| bool | isBeingReset () const |
| |
| void | UpdatePropAnimInputEvents () |
| |
|
| ActorState | getTruckState () |
| |
| Ogre::Vector3 | getPosition () |
| |
| float | getRotation () |
| |
| Ogre::Quaternion | getOrientation () |
| |
| float | getSpeed () |
| |
| Ogre::Vector3 | getGForces () |
| |
| float | getTotalMass (bool withLocked=true) |
| |
| float | getDryMass () |
| |
| float | getLoadedMass () |
| |
| float | getInitialDryMass () |
| |
| float | getInitialLoadedMass () |
| |
| int | getNodeCount () |
| |
| Ogre::Vector3 | getNodePosition (int nodeNumber) |
| |
| float | getNodeInitialMass (int nodeNumber) |
| |
| float | getNodeMass (int nodeNumber) |
| |
| Ogre::Vector3 | getNodeVelocity (int nodeNumber) |
| |
| Ogre::Vector3 | getNodeForces (int nodeNumber) |
| |
| void | getNodeMassOptions (int nodeNumber, bool &loaded, bool &overrideMass) |
| |
| bool | isNodeWheelRim (int nodeNumber) |
| |
| bool | isNodeWheelTire (int nodeNumber) |
| |
| int | getWheelNodeCount () const |
| |
| float | getWheelSpeed () const |
| |
| void | reset (bool keep_position=false) |
| |
| float | getShockSpringRate (int shock_number) |
| |
| float | getShockDamping (int shock_number) |
| |
| float | getShockVelocity (int shock_number) |
| |
| int | getShockNode1 (int shock_number) |
| |
| int | getShockNode2 (int shock_number) |
| |
| float | getAirbrakeIntensity () |
| |
| int | getAircraftFlaps () |
| |
| void | resetPosition (Ogre::Vector3 translation, bool setInitPosition) |
| |
| void | resetPosition (float px, float pz, bool setInitPosition, float miny) |
| |
| void | softRespawn (Ogre::Vector3 spawnpos, Ogre::Quaternion spawnrot) |
| |
| void | requestRotation (float rotation, Ogre::Vector3 center) |
| |
| void | requestAngleSnap (int division) |
| |
| void | requestTranslation (Ogre::Vector3 translation) |
| |
| int | getShockCount () |
| |
| Ogre::Vector3 | getVelocity () const |
| |
| Ogre::Vector3 | getDirection () |
| |
| Ogre::Vector3 | getRotationCenter () |
| |
| float | getMinHeight (bool skip_virtual_nodes=true) |
| |
| float | getMaxHeight (bool skip_virtual_nodes=true) |
| |
| float | getHeightAboveGround (bool skip_virtual_nodes=true) |
| |
| float | getHeightAboveGroundBelow (float height, bool skip_virtual_nodes=true) |
| |
| Ogre::Vector3 | getMaxGForces () |
| |
| bool | hasSlidenodes () |
| |
| void | updateSlideNodePositions () |
| |
| void | updateSlideNodeForces (const Ogre::Real delta_time_sec) |
| |
| void | resetSlideNodePositions () |
| |
| void | resetSlideNodes () |
| |
|
| void | scaleTruck (float value) |
| |
| void | setMass (float m) |
| |
| void | setLoadedMass (float m) |
| |
| void | setNodeMass (int nodeNumber, float m) |
| |
| void | setNodeMassOptions (int nodeNumber, bool loaded, bool overrideMass) |
| |
| void | setSimAttribute (ActorSimAttr attr, float val) |
| |
| void | setIndexedSimAttribute (ActorSimAttr attr, float val, int index) |
| |
| float | getSimAttribute (ActorSimAttr attr) |
| |
| float | getIndexedSimAttribute (ActorSimAttr attr, int index) |
| |
| void | recalculateNodeMasses () |
| |
| void | setAirbrakeIntensity (float intensity) |
| |
| void | setAircraftFlaps (int flapsLevel) |
| |
| void | wakeUp () |
| |
| void | sendToSleep () |
| |
| void | applyNodeBeamScales () |
| |
| void | searchBeamDefaults () |
| |
| void | updateInitPosition () |
| |
| void | propagateNodeBeamChangesToDef () |
| |
| bool | shouldSetSimAttribute (ActorSimAttr attr, float val, int index=-1) |
| |
|
| bool | getParkingBrake () |
| |
| bool | getTractionControl () |
| |
| bool | getAntiLockBrake () |
| |
| bool | getCruiseControl () |
| |
| void | parkingbrakeToggle () |
| |
| void | tractioncontrolToggle () |
| |
| void | antilockbrakeToggle () |
| |
| void | cruisecontrolToggle () |
| |
| void | toggleCustomParticles () |
| |
| bool | getCustomParticleMode () |
| |
| bool | isLocked () |
| |
| void | setForcedCinecam (CineCameraID_t cinecam_id, BitMask_t flags) |
| |
| void | clearForcedCinecam () |
| |
| bool | getForcedCinecam (CineCameraID_t &cinecam_id, BitMask_t &flags) |
| |
| int | getNumCinecams () |
| |
| int | getCameraCount () |
| |
| int | getCameraPosNode (int camIndex) |
| |
| int | getCameraDirNode (int camIndex) |
| |
| int | getCameraRollNode (int camIndex) |
| |
| void | mouseMove (NodeNum_t node, Ogre::Vector3 pos, float force) |
| |
| void | tieToggle (int group=-1, ActorLinkingRequestType mode=ActorLinkingRequestType::TIE_TOGGLE, ActorInstanceID_t forceunlock_filter=ACTORINSTANCEID_INVALID) |
| |
| bool | isTied () |
| |
| void | hookToggle (int group=-1, ActorLinkingRequestType mode=ActorLinkingRequestType::HOOK_TOGGLE, NodeNum_t mousenode=NODENUM_INVALID, ActorInstanceID_t forceunlock_filter=ACTORINSTANCEID_INVALID) |
| |
| void | ropeToggle (int group=-1, ActorLinkingRequestType mode=ActorLinkingRequestType::ROPE_TOGGLE, ActorInstanceID_t forceunlock_filter=ACTORINSTANCEID_INVALID) |
| |
| void | engineTriggerHelper (int engineNumber, EngineTriggerType type, float triggerValue) |
| |
| void | toggleSlideNodeLock () |
| |
| void | toggleAxleDiffMode () |
| |
| void | displayAxleDiffMode () |
| |
| int | getAxleDiffMode () |
| |
| void | toggleWheelDiffMode () |
| |
| void | displayWheelDiffMode () |
| |
| int | getWheelDiffMode () |
| |
| void | toggleTransferCaseMode () |
| |
| TransferCase * | getTransferCaseMode () |
| |
| void | toggleTransferCaseGearRatio () |
| |
| Ogre::String | getTransferCaseName () |
| |
| void | displayTransferCaseMode () |
| |
| void | setSmokeEnabled (bool enabled) |
| |
| bool | getSmokeEnabled () const |
| |
|
| float | getEventValue (int eventID, bool pure=false, InputSourceType valueSource=InputSourceType::IST_ANY) |
| |
| bool | getEventBoolValue (int eventID) |
| |
| bool | getEventBoolValueBounce (int eventID, float time=0.2f) |
| |
| void | clearEventSimulatedValues () |
| |
| bool | hasEventSimulatedValue (int eventID) |
| |
| float | getEventSimulatedValue (int eventID) |
| |
| void | setEventSimulatedValue (int eventID, float value) |
| |
| void | resetEventSimulatedValue (int eventID) |
| |
| bool | ShouldAllowNonSimulatedInputs () |
| |
| bool | isEventAnalog (int eventID) |
| |
| bool | isEventDefined (int eventID) |
| |
| float | getEventBounceTime (int eventID) |
| |
|
| BlinkType | getBlinkType () |
| |
| void | setBlinkType (BlinkType blink) |
| |
| void | toggleBlinkType (BlinkType blink) |
| |
| bool | getCustomLightVisible (int number) |
| |
| void | setCustomLightVisible (int number, bool visible) |
| |
| bool | getBeaconMode () const |
| |
| void | beaconsToggle () |
| |
| bool | getBrakeLightVisible () const |
| |
| bool | getReverseLightVisible () const |
| |
| int | countCustomLights (int control_number) |
| |
| int | countFlaresByType (FlareType type) |
| |
| void | toggleHeadlights () |
| |
| BitMask_t | getLightStateMask () const |
| |
| void | setLightStateMask (BitMask_t lightmask) |
| |
| void | importLightStateMask (BitMask_t lightmask) |
| |
| bool | getSideLightsVisible () const |
| |
| void | setSideLightsVisible (bool val) |
| |
| bool | getHeadlightsVisible () const |
| |
| void | setHeadlightsVisible (bool val) |
| |
| bool | getHighBeamsVisible () const |
| |
| void | setHighBeamsVisible (bool val) |
| |
| bool | getFogLightsVisible () const |
| |
| void | setFogLightsVisible (bool val) |
| |
| void | setBeaconMode (bool val) |
| |
|
| void | updateSkidmarks () |
| |
| void | prepareInside (bool inside) |
| |
| void | updateFlareStates (float dt) |
| |
| void | updateVisual (float dt=0) |
| |
| void | updateDashBoards (float dt) |
| |
| void | forceAllFlaresOff () |
| |
|
| void | updateSoundSources () |
| |
| void | muteAllSounds () |
| |
| void | unmuteAllSounds () |
| |
|
| DashBoardManagerPtr | getDashboardManager () |
| |
| VehicleAIPtr | getVehicleAI () |
| |
| int | getAircraftEngineCount () |
| |
| AeroEnginePtr | getAircraftEngine (int index) |
| |
| AeroEnginePtr | getTurbojet (int index) |
| |
| AeroEnginePtr | getTurboprop (int index) |
| |
| AutopilotPtr | getAutopilot () |
| |
| int | getScrewpropCount () |
| |
| ScrewpropPtr | getScrewprop (int index) |
| |
| Ogre::MaterialPtr | getManagedMaterialInstance (const std::string &orig_name) |
| |
| std::vector< std::string > | getManagedMaterialNames () |
| |
| Replay * | getReplay () |
| |
| TyrePressure & | getTyrePressure () |
| |
| EnginePtr | getEngine () |
| |
|
| std::string | getTruckName () |
| |
| std::string | getTruckFileName () |
| |
| std::string | getTruckFileResourceGroup () |
| |
| int | getTruckType () |
| |
| Ogre::String | getSectionConfig () |
| |
| int | getInstanceId () |
| |
| CacheEntryPtr & | getUsedActorEntry () |
| |
| CacheEntryPtr & | getUsedSkinEntry () |
| |
| CacheEntryPtrVec & | getUsedAddonpartEntries () |
| |
| CacheEntryPtrVec & | getUsedAssetpackEntries () |
| |
| TuneupDefPtr & | getWorkingTuneupDef () |
| |
| void | ensureWorkingTuneupDef () |
| |
| void | removeWorkingTuneupDef () |
| |
| bool | isPreloadedWithTerrain () const |
| |
| std::vector< authorinfo_t > | getAuthors () |
| |
| std::vector< std::string > | getDescription () |
| |
| | RefCountingObject () |
| |
| virtual | ~RefCountingObject () |
| |
| void | AddRef () |
| |
| void | Release () |
| |
|
| node_t * | ar_nodes = nullptr |
| |
| int * | ar_nodes_id = nullptr |
| |
| std::string * | ar_nodes_name = nullptr |
| |
| std::vector< float > | ar_nodes_default_loadweights |
| |
| std::vector< float > | ar_nodes_override_loadweights |
| |
| Ogre::Vector3 * | ar_nodes_spawn_offsets = nullptr |
| |
| std::vector< BitMask_t > | ar_nodes_options |
| |
| std::vector< float > | ar_minimass |
| |
| std::vector< float > | ar_orig_minimass |
| |
| std::vector< float > | ar_initial_node_masses |
| |
| std::vector< Ogre::Vector3 > | ar_initial_node_positions |
| |
| bool | ar_minimass_skip_loaded_nodes = false |
| |
| int | ar_nodes_name_top_length = 0 |
| |
| int | ar_num_nodes = 0 |
| |
| beam_t * | ar_beams = nullptr |
| |
| int | ar_num_beams = 0 |
| |
| std::vector< std::pair< float, float > > | ar_initial_beam_defaults |
| |
| std::vector< bool > | ar_beams_invisible |
| |
| std::vector< bool > | ar_beams_user_defined |
| |
| std::vector< beam_t * > | ar_inter_beams |
| |
| shock_t * | ar_shocks = nullptr |
| |
| int | ar_num_shocks = 0 |
| |
| bool | ar_has_active_shocks = false |
| |
| rotator_t * | ar_rotators = nullptr |
| |
| int | ar_num_rotators = 0 |
| |
| wing_t * | ar_wings = nullptr |
| |
| int | ar_num_wings = 0 |
| |
| std::vector< authorinfo_t > | authors |
| |
| std::vector< rope_t > | ar_ropes |
| |
| std::vector< ropable_t > | ar_ropables |
| |
| std::vector< tie_t > | ar_ties |
| |
| std::vector< hook_t > | ar_hooks |
| |
| std::vector< flare_t > | ar_flares |
| |
| std::vector< Airbrake * > | ar_airbrakes |
| |
| CmdKeyArray | ar_command_key |
| |
| Ogre::AxisAlignedBox | ar_bounding_box |
| |
| Ogre::AxisAlignedBox | ar_evboxes_bounding_box |
| |
| Ogre::AxisAlignedBox | ar_predicted_bounding_box |
| |
| std::vector< wheeldetacher_t > | ar_wheeldetachers |
| |
| std::vector< std::vector< int > > | ar_node_to_node_connections |
| |
| std::vector< std::vector< int > > | ar_node_to_beam_connections |
| |
| std::vector< Ogre::AxisAlignedBox > | ar_collision_bounding_boxes |
| |
| std::vector< Ogre::AxisAlignedBox > | ar_predicted_coll_bounding_boxes |
| |
| std::map< std::string, Ogre::MaterialPtr > | ar_managed_materials |
| |
| std::vector< UniqueCommandKeyPair > | ar_unique_commandkey_pairs |
| |
| int | ar_num_contactable_nodes = 0 |
| |
| int | ar_num_contacters = 0 |
| |
| wheel_t | ar_wheels [MAX_WHEELS] = {} |
| |
| int | ar_num_wheels = 0 |
| |
| soundsource_t | ar_soundsources [MAX_SOUNDSCRIPTS_PER_TRUCK] = {} |
| |
| int | ar_num_soundsources = 0 |
| |
| AeroEnginePtr | ar_aeroengines [MAX_AEROENGINES] = {} |
| |
| int | ar_num_aeroengines = 0 |
| |
| ScrewpropPtr | ar_screwprops [MAX_SCREWPROPS] = {} |
| |
| int | ar_num_screwprops = 0 |
| |
| int | ar_cabs [MAX_CABS *3] = {} |
| |
| BuoyCachedNodeID_t | ar_cabs_buoy_cache_ids [MAX_CABS] = {} |
| |
| int | ar_num_cabs = 0 |
| |
| std::vector< hydrobeam_t > | ar_hydros |
| |
| int | ar_collcabs [MAX_CABS] = {} |
| |
| collcab_rate_t | ar_inter_collcabrate [MAX_CABS] = {} |
| |
| collcab_rate_t | ar_intra_collcabrate [MAX_CABS] = {} |
| |
| int | ar_num_collcabs = 0 |
| |
| int | ar_buoycabs [MAX_CABS] = {} |
| |
| int | ar_buoycab_types [MAX_CABS] = {} |
| |
| int | ar_num_buoycabs = 0 |
| |
| NodeNum_t | ar_camera_rail [MAX_CAMERARAIL] = {} |
| |
| int | ar_num_camera_rails = 0 |
| |
| bool | ar_hide_in_actor_list = false |
| |
| Ogre::String | ar_design_name |
| |
| float | ar_anim_previous_crank = 0.f |
| |
| float | alb_ratio = 0.f |
| |
| float | alb_minspeed = 0.f |
| |
| bool | alb_mode = false |
| |
| float | alb_pulse_time = 0.f |
| |
| bool | alb_pulse_state = false |
| |
| bool | alb_nodash = false |
| |
| bool | alb_notoggle = false |
| |
| float | alb_timer = 0.f |
| |
| float | ar_anim_shift_timer = 0.f |
| |
| bool | cc_mode = false |
| |
| bool | cc_can_brake = false |
| |
| float | cc_target_rpm = 0.f |
| |
| float | cc_target_speed = 0.f |
| |
| float | cc_target_speed_lower_limit = 0.f |
| |
| std::deque< float > | cc_accs |
| |
| bool | sl_enabled = false |
| |
| float | sl_speed_limit = 0.f |
| |
| ExtCameraMode | ar_extern_camera_mode = ExtCameraMode::CLASSIC |
| |
| NodeNum_t | ar_extern_camera_node = NODENUM_INVALID |
| |
| NodeNum_t | ar_exhaust_pos_node = 0 |
| |
| NodeNum_t | ar_exhaust_dir_node = 0 |
| |
| ActorInstanceID_t | ar_instance_id = ACTORINSTANCEID_INVALID |
| |
| unsigned int | ar_vector_index = 0 |
| |
| ActorType | ar_driveable = NOT_DRIVEABLE |
| |
| EnginePtr | ar_engine |
| |
| NodeNum_t | ar_cinecam_node [MAX_CAMERAS] = {NODENUM_INVALID} |
| |
| int | ar_num_cinecams = 0 |
| |
| AutopilotPtr | ar_autopilot |
| |
| float | ar_brake_force = 0.f |
| |
| Ogre::Vector3 | ar_origin = Ogre::Vector3::ZERO |
| |
| int | ar_num_cameras = 0 |
| |
| Ogre::Quaternion | ar_main_camera_dir_corr = Ogre::Quaternion::IDENTITY |
| |
| NodeNum_t | ar_main_camera_node_pos = 0 |
| |
| NodeNum_t | ar_main_camera_node_dir = 0 |
| |
| NodeNum_t | ar_main_camera_node_roll = 0 |
| |
| NodeNum_t | ar_camera_node_pos [MAX_CAMERAS] = {NODENUM_INVALID} |
| |
| NodeNum_t | ar_camera_node_dir [MAX_CAMERAS] = {NODENUM_INVALID} |
| |
| NodeNum_t | ar_camera_node_roll [MAX_CAMERAS] = {NODENUM_INVALID} |
| |
| bool | ar_camera_node_roll_inv [MAX_CAMERAS] = {false} |
| |
| float | ar_posnode_spawn_height = 0.f |
| |
| VehicleAIPtr | ar_vehicle_ai |
| |
| std::map< int, float > | ar_actor_event_simulated_values |
| |
| float | ar_scale = 1.f |
| |
| Ogre::Real | ar_brake = 0.f |
| |
| float | ar_wheel_speed = 0.f |
| |
| float | ar_wheel_spin = 0.f |
| |
| float | ar_avg_wheel_speed = 0.f |
| |
| float | ar_hydro_dir_command = 0.f |
| |
| float | ar_hydro_dir_state = 0.f |
| |
| Ogre::Real | ar_hydro_dir_wheel_display = 0.f |
| |
| float | ar_hydro_aileron_command = 0.f |
| |
| float | ar_hydro_aileron_state = 0.f |
| |
| float | ar_hydro_rudder_command = 0.f |
| |
| float | ar_hydro_rudder_state = 0.f |
| |
| float | ar_hydro_elevator_command = 0.f |
| |
| float | ar_hydro_elevator_state = 0.f |
| |
| float | ar_sleep_counter = 0.f |
| |
| ground_model_t * | ar_submesh_ground_model = nullptr |
| |
| bool | ar_parking_brake = false |
| |
| bool | ar_trailer_parking_brake = false |
| |
| float | ar_left_mirror_angle = 0.52f |
| |
| float | ar_right_mirror_angle = -0.52f |
| |
| float | ar_elevator = 0.f |
| |
| float | ar_rudder = 0.f |
| |
| float | ar_aileron = 0.f |
| |
| int | ar_aerial_flap = 0 |
| |
| Ogre::Vector3 | ar_fusedrag = Ogre::Vector3::ZERO |
| |
| std::string | ar_filename |
| |
| std::string | ar_filehash |
| |
| int | ar_airbrake_intensity = 0 |
| |
| int | ar_net_source_id = 0 |
| |
| int | ar_net_stream_id = 0 |
| |
| std::map< int, int > | ar_net_stream_results |
| |
| Ogre::Timer | ar_net_timer |
| |
| unsigned long | ar_net_last_update_time = 0 |
| |
| float | ar_collision_range = DEFAULT_COLLISION_RANGE |
| |
| float | ar_top_speed = 0.f |
| |
| ground_model_t * | ar_last_fuzzy_ground_model = nullptr |
| |
| CollisionBoxPtrVec | m_potential_eventboxes |
| |
| std::vector< std::pair< collision_box_t *, NodeNum_t > > | m_active_eventboxes |
| |
| std::unique_ptr< Buoyance > | m_buoyance |
| |
| CineCameraID_t | ar_current_cinecam = CINECAMERAID_INVALID |
| |
| NodeNum_t | ar_custom_camera_node = NODENUM_INVALID |
| |
| PerVehicleCameraContext | ar_camera_context |
| |
| CineCameraID_t | ar_forced_cinecam = CINECAMERAID_INVALID |
| |
| BitMask_t | ar_forced_cinecam_flags = 0 |
| |
| float | tc_ratio = 0.f |
| |
| bool | tc_mode = false |
| |
| float | tc_pulse_time = 0.f |
| |
| bool | tc_pulse_state = 0.f |
| |
| bool | tc_nodash = false |
| |
| bool | tc_notoggle = false |
| |
| float | tc_timer = 0.f |
| |
| float | tc_wheelslip_constant = 0.25f |
| |
| bool | ar_guisettings_use_engine_max_rpm = false |
| |
| float | ar_guisettings_speedo_max_kph = DEFAULT_SPEEDO_MAX_KPH |
| |
| float | ar_guisettings_shifter_anim_time = 0.4f |
| |
| std::string | ar_guisettings_tacho_material |
| |
| std::string | ar_guisettings_speedo_material |
| |
| std::string | ar_guisettings_help_material |
| |
| bool | m_hud_features_ok = false |
| |
| DashBoardManagerPtr | ar_dashboard |
| |
| ActorState | ar_state = ActorState::LOCAL_SIMULATED |
| |
| ActorPtrVec | ar_linked_actors |
| |
| bool | m_ongoing_reset = false |
| |
| bool | ar_physics_paused = false |
| |
| bool | ar_muted_by_peeropt = false |
| |
| Ogre::Vector3 | m_rotation_request_center = Ogre::Vector3::ZERO |
| |
| float | m_rotation_request = 0.f |
| |
| int | m_anglesnap_request = 0 |
| |
| Ogre::Vector3 | m_translation_request = Ogre::Vector3::ZERO |
| |
| bool | ar_nb_initialized = false |
| |
| std::vector< float > | ar_nb_optimum |
| |
| std::vector< float > | ar_nb_reference |
| |
| int | ar_nb_skip_steps = 0 |
| |
| int | ar_nb_measure_steps = 500 |
| |
| float | ar_nb_minimass_scale = 1.f |
| |
| std::pair< float, float > | ar_nb_beams_scale |
| |
| std::pair< float, float > | ar_nb_shocks_scale |
| |
| std::pair< float, float > | ar_nb_wheels_scale |
| |
| std::pair< float, float > | ar_nb_beams_d_interval |
| |
| std::pair< float, float > | ar_nb_beams_k_interval |
| |
| std::pair< float, float > | ar_nb_shocks_d_interval |
| |
| std::pair< float, float > | ar_nb_shocks_k_interval |
| |
| std::pair< float, float > | ar_nb_wheels_d_interval |
| |
| std::pair< float, float > | ar_nb_wheels_k_interval |
| |
| bool | ar_update_physics:1 |
| |
| bool | ar_disable_aerodyn_turbulent_drag:1 |
| |
| bool | ar_engine_hydraulics_ready:1 |
| |
| bool | ar_hydro_speed_coupling_active:1 |
| |
| bool | ar_hydro_speed_coupling_enabled:1 |
| |
| bool | ar_collision_relevant:1 |
| |
| bool | ar_is_police:1 |
| |
| bool | ar_rescuer_flag:1 |
| |
| bool | ar_forward_commands:1 |
| |
| bool | ar_import_commands:1 |
| |
| bool | ar_toggle_ropes:1 |
| |
| bool | ar_toggle_ties:1 |
| |
| bool | ar_cparticles_active:1 |
| |
| bool | ar_arcade_controls:1 |
| |
|
| float | ar_dry_mass = 0.f |
| |
| float | ar_original_dry_mass = 0.f |
| |
| float | ar_load_mass = 0.f |
| |
| float | ar_original_load_mass = 0.f |
| |
| int | ar_masscount = 0 |
| |
| float | ar_total_mass = 0.f |
| |
| float | ar_initial_total_mass = 0.f |
| |
| int | m_refcount |
| |
| std::mutex | m_refcount_mtx |
| |
|
| bool | CalcForcesEulerPrepare (bool doUpdate) |
| |
| void | CalcAircraftForces (bool doUpdate) |
| |
| void | CalcForcesEulerCompute (bool doUpdate, int num_steps) |
| |
| void | CalcAnimators (hydrobeam_t const &hydrobeam, float &cstate, int &div) |
| |
| void | CalcBeams (bool trigger_hooks) |
| |
| void | CalcBeamsInterActor () |
| |
| void | CalcBuoyance (bool doUpdate) |
| |
| void | CalcCommands (bool doUpdate) |
| |
| void | CalcCabCollisions () |
| |
| void | CalcDifferentials () |
| |
| void | CalcForceFeedback (bool doUpdate) |
| |
| void | CalcFuseDrag () |
| |
| void | CalcHooks () |
| |
| void | CalcHydros () |
| |
| void | CalcMouse () |
| |
| void | CalcNodes () |
| |
| void | CalcEventBoxes () |
| |
| void | CalcReplay () |
| |
| void | CalcRopes () |
| |
| void | CalcShocks (bool doUpdate, int num_steps) |
| |
| void | CalcShocks2 (int i, Ogre::Real difftoBeamL, Ogre::Real &k, Ogre::Real &d, Ogre::Real v) |
| |
| void | CalcShocks3 (int i, Ogre::Real difftoBeamL, Ogre::Real &k, Ogre::Real &d, Ogre::Real v) |
| |
| void | CalcTriggers (int i, Ogre::Real difftoBeamL, bool update_hooks) |
| |
| void | CalcTies () |
| |
| void | CalcTruckEngine (bool doUpdate) |
| |
| void | CalcWheels (bool doUpdate, int num_steps) |
| |
| void | DetermineLinkedActors () |
| |
| void | calcNodeConnectivityGraph () |
| |
| void | AddInterActorBeam (beam_t *beam, ActorPtr other, ActorLinkingRequestType type) |
| |
| void | RemoveInterActorBeam (beam_t *beam, ActorLinkingRequestType type) |
| |
| void | DisjoinInterActorBeams () |
| |
| void | autoBlinkReset () |
| |
| void | ResetAngle (float rot) |
| |
| void | calculateLocalGForces () |
| |
| Ogre::Vector3 | calculateCollisionOffset (Ogre::Vector3 direction) |
| |
| std::pair< RailGroup *, Ogre::Real > | GetClosestRailOnActor (ActorPtr actor, const SlideNode &node) |
| |