iPcMechanicsThruster Struct Reference
Property class representing a thruster that affect forces on the attached object. More...
#include <propclass/mechthruster.h>
Public Member Functions | |
virtual float | AvailableThrust ()=0 |
How much thrust is available on this thruster? | |
virtual float | GetMaxThrust ()=0 |
Get the maximum thrust. | |
virtual iPcMechanicsObject * | GetMechanicsObject ()=0 |
Get the associated mechanics object. | |
virtual const csVector3 & | GetOrientation ()=0 |
Get the orientation of the thruster. | |
virtual const csVector3 & | GetPosition ()=0 |
Get the thruster's position relative to the object. | |
virtual float | GetThrustForce (float thrust)=0 |
Get the amount of force a given thrust will produce, taking into account the current environment. | |
virtual void | SetMaxThrust (float maxthrust)=0 |
Set the maximum thrust. | |
virtual void | SetMechanicsObject (iPcMechanicsObject *mechsys)=0 |
Set the mechanics object to affect. | |
virtual void | SetOrientation (const csVector3 &orientation)=0 |
Set the orientation of the thruster. | |
virtual void | SetPosition (const csVector3 &pos)=0 |
Set the thruster's position relative to the object. | |
virtual void | ThrustChange (float deltathrust)=0 |
Applies a delta to the thruster's current thrust. |
Detailed Description
Property class representing a thruster that affect forces on the attached object.This property class supports the following actions (add prefix 'cel.action.' to get the ID of the action and add prefix 'cel.parameter.' to get the ID of the parameter):
- InitThruster: parameters 'objectpctag' (string), 'position' (vector3).
Definition at line 45 of file mechthruster.h.
Member Function Documentation
|
How much thrust is available on this thruster?
|
|
Get the maximum thrust.
|
|
Get the associated mechanics object.
|
|
Get the orientation of the thruster.
|
|
Get the thruster's position relative to the object.
|
|
Get the amount of force a given thrust will produce, taking into account the current environment.
|
|
Set the maximum thrust.
|
|
Set the mechanics object to affect. This is required.
|
|
Set the orientation of the thruster.
|
|
Set the thruster's position relative to the object.
|
|
Applies a delta to the thruster's current thrust.
|
The documentation for this struct was generated from the following file:
- propclass/mechthruster.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6