RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Attributes
RoR::Screwprop Class Reference

#include <ScrewProp.h>

+ Collaboration diagram for RoR::Screwprop:

Public Member Functions

 Screwprop (ActorPtr actor, NodeNum_t noderef, NodeNum_t nodeback, NodeNum_t nodeup, float power)
 
void updateForces (int update)
 
void setThrottle (float val)
 
void setRudder (float val)
 
float getThrottle ()
 
float getRudder ()
 
void reset ()
 
void toggleReverse ()
 

Private Attributes

DustPoolsplashp
 
DustPoolripplep
 
bool reverse
 
float fullpower
 in HP More...
 
float rudder
 
float throtle
 
ActorPtr m_actor
 
NodeNum_t nodeback
 
NodeNum_t noderef
 
NodeNum_t nodeup
 

Detailed Description

Definition at line 34 of file ScrewProp.h.

Constructor & Destructor Documentation

◆ Screwprop()

Screwprop::Screwprop ( ActorPtr  actor,
NodeNum_t  noderef,
NodeNum_t  nodeback,
NodeNum_t  nodeup,
float  power 
)

Definition at line 37 of file ScrewProp.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ getRudder()

float Screwprop::getRudder ( )

Definition at line 106 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ getThrottle()

float Screwprop::getThrottle ( )

Definition at line 98 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ reset()

void Screwprop::reset ( )

Definition at line 111 of file ScrewProp.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRudder()

void Screwprop::setRudder ( float  val)

Definition at line 89 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ setThrottle()

void Screwprop::setThrottle ( float  val)

Definition at line 76 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ toggleReverse()

void Screwprop::toggleReverse ( )

Definition at line 118 of file ScrewProp.cpp.

+ Here is the caller graph for this function:

◆ updateForces()

void Screwprop::updateForces ( int  update)

Definition at line 49 of file ScrewProp.cpp.

+ Here is the call graph for this function:

Field Documentation

◆ fullpower

float RoR::Screwprop::fullpower
private

in HP

Definition at line 52 of file ScrewProp.h.

◆ m_actor

ActorPtr RoR::Screwprop::m_actor
private

Definition at line 57 of file ScrewProp.h.

◆ nodeback

NodeNum_t RoR::Screwprop::nodeback
private

Definition at line 58 of file ScrewProp.h.

◆ noderef

NodeNum_t RoR::Screwprop::noderef
private

Definition at line 59 of file ScrewProp.h.

◆ nodeup

NodeNum_t RoR::Screwprop::nodeup
private

Definition at line 60 of file ScrewProp.h.

◆ reverse

bool RoR::Screwprop::reverse
private

Definition at line 51 of file ScrewProp.h.

◆ ripplep

DustPool * RoR::Screwprop::ripplep
private

Definition at line 50 of file ScrewProp.h.

◆ rudder

float RoR::Screwprop::rudder
private

Definition at line 53 of file ScrewProp.h.

◆ splashp

DustPool* RoR::Screwprop::splashp
private

Definition at line 50 of file ScrewProp.h.

◆ throtle

float RoR::Screwprop::throtle
private

Definition at line 54 of file ScrewProp.h.


The documentation for this class was generated from the following files: