iPcMechanicsSteering Struct Reference
Property class representing a steering mechanism that affects forces on the attached object, dependent on the forward velocity of the object. More...
#include <propclass/mechsteer.h>
Public Member Functions | |
virtual void | SetID (const char *id)=0 |
Set this thruster's identifier. | |
virtual const char * | GetID ()=0 |
Get this thruster's identifier. | |
virtual void | SetMechanicsObject (iPcMechanicsObject *mechsys)=0 |
Set the mechanics object to affect. | |
virtual iPcMechanicsObject * | GetMechanicsObject ()=0 |
Get the associated mechanics object. | |
virtual void | SetPosition (const csVector3 position)=0 |
Set the position of this steering mechanism. | |
virtual const csVector3 | GetPosition ()=0 |
Get the position of this steering mechanism. | |
virtual void | SetAxis (const csVector3 axis)=0 |
Set the axis of rotation for this steering mechanism. | |
virtual const csVector3 | GetAxis ()=0 |
Get the axis of rotation for this steering mechanism. | |
virtual void | SetAngle (percentage angle)=0 |
Set the angle of the steering mechanism. | |
virtual percentage | GetAngle ()=0 |
Get the angle of the steering mechanism. | |
virtual void | SetMaxAngle (float maxangle)=0 |
Set the maximum angle of the steering mechanism. | |
virtual float | GetMaxAngle ()=0 |
Get the maximum angle of the steering mechanism. | |
virtual void | Turn (percentage speed=0.0)=0 |
Turn the steering mechanism. | |
virtual void | TurnTo (percentage angle, percentage speed=1.0)=0 |
Turn the steering mechanism to the given angle percentage. | |
virtual void | SetMaxTurnSpeed (float maxspeed)=0 |
Set the maximum turning speed of this steering mechanism. | |
virtual float | GetMaxTurnSpeed ()=0 |
Get the maximum turning speed this steering mechanism. |
Detailed Description
Property class representing a steering mechanism that affects forces on the attached object, dependent on the forward velocity of the object.
Definition at line 18 of file mechsteer.h.
Member Function Documentation
|
Get the angle of the steering mechanism.
|
|
Get the axis of rotation for this steering mechanism.
|
|
Get this thruster's identifier.
|
|
Get the maximum angle of the steering mechanism.
|
|
Get the maximum turning speed this steering mechanism.
|
|
Get the associated mechanics object.
|
|
Get the position of this steering mechanism.
|
|
Set the angle of the steering mechanism.
|
|
Set the axis of rotation for this steering mechanism.
|
|
Set this thruster's identifier.
|
|
Set the maximum angle of the steering mechanism.
|
|
Set the maximum turning speed of this steering mechanism.
|
|
Set the mechanics object to affect. This is required. |
|
Set the position of this steering mechanism.
|
|
Turn the steering mechanism. (speed from -1.0 to 1.0, negative means clockwise.) |
|
Turn the steering mechanism to the given angle percentage.
|
The documentation for this struct was generated from the following file:
- propclass/mechsteer.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.4