Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Data Structures | Public Member Functions | Static Public Attributes | Protected Attributes
Ogre::ExtinguishableFireAffector Class Reference

Description

This class defines a ParticleAffector which deflects particles.

Remarks
This affector (see ParticleAffector) offers a simple (and inaccurate) physical deflection. All particles which hit the plane are reflected.
The plane is defined by a point (plane_point) and the normal (plane_normal). In addition it is possible to change the strenght of the recoil by using the bounce parameter.

Definition at line 45 of file ExtinguishableFireAffector.h.

+ Inheritance diagram for Ogre::ExtinguishableFireAffector:

Data Structures

class  CmdIntensity
 
class  CmdIntensityGrowth
 
class  CmdMaxIntensity
 
class  CmdMiddlePoint
 
class  CmdRadius
 

Public Member Functions

 ExtinguishableFireAffector (ParticleSystem *psys)
 
 ~ExtinguishableFireAffector ()
 
void _affectParticles (ParticleSystem *pSystem, Real timeElapsed)
 
void setMiddlePoint (const Vector3 &pos)
 
Vector3 getMiddlePoint (void) const
 
void setIntensity (Real intensity)
 
Real getIntensity (void) const
 
void setMaxIntensity (Real intensity)
 
Real getMaxIntensity (void) const
 
void setIntensityGrowth (Real intensity)
 
Real getIntensityGrowth (void) const
 
void setRadius (Real radius)
 
Real getRadius (void) const
 
bool isTemplate () const
 
Vector3 getAbsoluteMiddlePoint (void) const
 
Real reduceIntensity (Real amount)
 
ParticleSystem * getParticleSystem ()
 
void setInstanceName (String iname)
 
String getInstanceName ()
 

Static Public Attributes

static CmdMiddlePoint msMiddlePointCmd
 
static CmdIntensity msIntensityCmd
 
static CmdMaxIntensity msMaxIntensityCmd
 
static CmdIntensityGrowth msIntensityGrowthCmd
 
static CmdRadius msRadiusCmd
 

Protected Attributes

Vector3 mMiddlePoint
 
Real mRadius
 
Real mIntensity
 
ParticleSystem * mPsys
 
Real originalIntensity
 
bool updateIntensityRequired
 
Vector2 originalDimensions
 
bool firstFrame
 
Real mIntensityGrowth
 
Real mMaxIntensity
 
String objectInstanceName
 

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