CEL

Public API Reference

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>

List of all members.

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

virtual void iPcDynamicSystem::AddForceDuration iPcDynamicBody pcbody,
const csVector3 &  force,
float  seconds
[pure virtual]
 

During the specified time (in milliseconds) add the force every step to the given body.

This function is called if you do pcbody->AddForceDuration().

virtual void iPcDynamicSystem::AddForceFrame iPcDynamicBody pcbody,
const csVector3 &  force
[pure virtual]
 

During the next frame add the force every step.

This function is called if you do pcbody->AddForceFrame().

virtual void iPcDynamicSystem::ClearAllForces  )  [pure virtual]
 

Clear all forces.

virtual void iPcDynamicSystem::ClearForces iPcDynamicBody pcbody  )  [pure virtual]
 

Remove the given body from the force queues (filled with AddForceFrame() and AddForceDuration()).

virtual iDynamicSystem* iPcDynamicSystem::GetDynamicSystem  )  [pure virtual]
 

Get the dynamic system.

virtual float iPcDynamicSystem::GetStepTime  )  const [pure virtual]
 

Get the step time.

virtual void iPcDynamicSystem::SetStepTime float  delta  )  [pure virtual]
 

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:
Generated for CEL: Crystal Entity Layer by doxygen 1.4.4