Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members
iPcDynamicSystem Struct Reference
Property class representing a dynamic system. More...
#include <propclass/dynmove.h>
Public Member Functions | |
virtual iDynamicSystem * | GetDynamicSystem ()=0 |
Get the dynamic system. | |
virtual void | SetStepTime (float delta)=0 |
Define the time we want for one step. | |
virtual float | GetStepTime () const =0 |
Get the step time. | |
virtual void | AddForceDuration (iPcDynamicBody *pcbody, const csVector3 &force, float seconds)=0 |
During the specified time (in milliseconds) add the force every step to the given body. | |
virtual void | AddForceFrame (iPcDynamicBody *pcbody, const csVector3 &force)=0 |
During the next frame add the force every step. | |
virtual void | ClearForces (iPcDynamicBody *pcbody)=0 |
Remove the given body from the force queues (filled with AddForceFrame() and AddForceDuration()). | |
virtual void | ClearAllForces ()=0 |
Clear all forces. |
Detailed Description
Property class representing a dynamic system.
Definition at line 40 of file dynmove.h.
Member Function Documentation
|
During the specified time (in milliseconds) add the force every step to the given body. This function is called if you do pcbody->AddForceDuration(). |
|
During the next frame add the force every step. This function is called if you do pcbody->AddForceFrame(). |
|
Clear all forces.
|
|
Remove the given body from the force queues (filled with AddForceFrame() and AddForceDuration()).
|
|
Get the dynamic system.
|
|
Get the step time.
|
|
Define the time we want for one step. By default this is 0.01 milliseconds. |
The documentation for this struct was generated from the following file:
- propclass/dynmove.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.4