|
RigsofRods
Soft-body Physics Simulation
|
float getExhaustVelocity() const
void updateVisuals(RoR::GfxActor *gfx_actor) override
void setThrottle(float val)
void UpdateVisuals(RoR::GfxActor *gfx_actor)
Ogre::SceneNode * m_nozzle_scenenode
void setVisible(bool visible) override
static const NodeNum_t NODENUM_INVALID
Ogre::SceneNode * m_flame_scenenode
float m_afterburn_thrust
in kN
void SetVisible(bool visible)
void setIgnition(bool val)
void setReverse(bool val)
Ogre::Entity * m_flame_entity
float m_exhaust_velocity
in m/s
Ogre::SceneNode * m_smoke_scenenode
uint16_t NodeNum_t
Node position within Actor::ar_nodes; use RoR::NODENUM_INVALID as empty value.
Ogre::Entity * m_nozzle_entity
Ogre::ParticleSystem * m_smoke_particle
Core data structures for simulation; Everything affected by by either physics, network or user intera...
bool m_afterburner_active
float m_rpm_percent
in percent!
void SetNodes(NodeNum_t front, NodeNum_t back, NodeNum_t ref)
Central state/object manager and communications hub.
float m_max_dry_thrust
in kN
Turbojet(ActorPtr actor, NodeNum_t tnodefront, NodeNum_t tnodeback, NodeNum_t tnoderef, RigDef::Turbojet &def)
void updateForces(float dt, int doUpdate)
TurbojetVisual tjet_visual
Data structures representing 'truck' file format, see https://docs.rigsofrods.org/vehicle-creation/fi...
float getAfterburnThrust() const
void SetupVisuals(RigDef::Turbojet &def, int num, std::string const &propname, Ogre::Entity *nozzle, Ogre::Entity *afterburner_flame)