iPcMechanicsBalancedGroup Struct Reference
Property class representing a balanced group of thrusters that can translate or rotate the object in a certain axis. More...
#include <propclass/mechthruster.h>
Public Member Functions | |
virtual void | AddThruster (iPcMechanicsThruster *thruster, float multiplier)=0 |
Add a thruster to this thruster group. | |
virtual float | AvailableThrust ()=0 |
What is the maximum amount of thrust that can be applied to the thrusters in this group? | |
virtual float | AvailableThrustForce ()=0 |
Get the amount of force that the maximum thrust for this group would produce. | |
virtual void | ChangeThrust (float deltathrust)=0 |
Apply the given thrust to all thrusters in this balanced group. | |
virtual iPcMechanicsThruster * | GetThruster (const char *tag)=0 |
Get the associated thruster. | |
virtual celAxisType | GetType ()=0 |
Get this group's type. | |
virtual void | RemoveThruster (const char *tag)=0 |
Remove a thruster. | |
virtual void | SetType (celAxisType type)=0 |
Set this group's type. |
Detailed Description
Property class representing a balanced group of thrusters that can translate or rotate the object in a certain axis.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):
- SetType: parameters 'type' (string, "rotation" or "translation").
- AddThruster: parameters 'thrusterpctag' (string), 'multiplier' (float).
Definition at line 140 of file mechthruster.h.
Member Function Documentation
|
Add a thruster to this thruster group. At least one is required.
|
|
What is the maximum amount of thrust that can be applied to the thrusters in this group?
|
|
Get the amount of force that the maximum thrust for this group would produce.
|
|
Apply the given thrust to all thrusters in this balanced group.
|
|
Get the associated thruster.
|
|
Get this group's type.
|
|
Remove a thruster.
|
|
Set this group's type.
|
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