#include "Aviary.h"
#include "serverinterfaces.h"
Defines | |
#define | CIRCLETIME 3.0f |
Default timeout for circling behaviour. More... | |
Functions | |
for (iter=m_boids.begin();iter!=m_boids.end();iter++) | |
if (fScratch >m_maxForce) | |
if (m_bCircleDirection) | |
pBoid | SetScratch (pBoid->GetScratch()-fFrameTime) |
if (pBoid->GetScratch()< 0) | |
g_pLTSPhysics | SetVelocity (hObject,&vVelocity) |
g_pLTSPhysics | SetPosition (hObject,&vPosition) |
g_pLTSPhysics | SetRotation (hObject,&oRotation) |
Variables | |
vector< CBoidModel * >::iterator | iter |
fScratch = steeringForce.Mag() | |
break | |
case | Circle |
case | Peck |
newUp = steeringForce+LTVector3f(0.0f,m_weight,0.0f) | |
vVelocity = steeringForce*fFrameTime | |
oRotation = LTOrientation(vVelocity,newUp) |
|
Default timeout for circling behaviour.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|