#include <Move.hpp>
Public Member Functions | |
Move () | |
void | setMove (const Move &original) |
coor_t | workSpeed () const |
bray_t | workYaw () const |
const Vector3 & | velocity () const |
Get speed in the xz-plane. | |
void | resetSpeed () |
Set speed to zero. | |
void | changeYaw (bray_t yaw) |
void | changeSpeed (coor_t speed) |
void | changeMovement (bray_t yaw, coor_t speed) |
Change movement direction and speed in the xz-plane. | |
bool | isMoving () const |
Is this Pos trying to move this step? | |
void | resetForces () |
Flick to the next step. | |
const Vector3 & | resultantForce () const |
Get the sum of the forces that are working on this Pos this step. | |
void | clearForces () |
Resets the forces that will work on this Pos the next step. | |
void | addForce (const Vector3 &force) |
Adds a force that will work on this Pos the next step. | |
void | addForce (scale_t s, const Vector3 &force) |
void | subtractForce (const Vector3 &force) |
Subtracs a force that will work on this Pos the next step. | |
Public Attributes | |
Vector3 | velocity_ |
Euler3 | angularVelocity_ |
scale_t | mass_ |
Point3 | centerOfMass_ |
Vector3 | force_ |
Euler3 | torque_ |
scale_t | linearFriction_ |
scale_t | linearFrictionR_ |
scale_t | angularFriction_ |
bool | didBounce_ |
scale_t | bounceMaintain_ |
scale_t | floorBounce_ |
int | affectCode_ |
se_core::Move::WorkVars | work_ |
|
Definition at line 35 of file Move.cpp. References se_core::SCALE_STEP. |
|
|
|
Adds a force that will work on this Pos the next step.
Definition at line 136 of file Move.hpp. References Assert. |
|
Change movement direction and speed in the xz-plane.
Definition at line 68 of file Move.cpp. References se_core::Vector3::setForward(). |
|
Definition at line 54 of file Move.cpp. References se_core::Vector3::setForward(). |
|
Definition at line 61 of file Move.cpp. References se_core::Vector3::setForward(). |
|
Resets the forces that will work on this Pos the next step.
|
|
Is this Pos trying to move this step?
|
|
Flick to the next step. Flicks the values that are reserved for use next step, so that they are used now. Performed by the SimEngine just before it precalculates coordinates for the next step. Definition at line 76 of file Move.cpp. References se_core::Tuple3::reset(). |
|
Set speed to zero.
Definition at line 89 of file Move.hpp. Referenced by se_basic::EnterTo::perform(). |
|
Get the sum of the forces that are working on this Pos this step.
|
|
|
|
Subtracs a force that will work on this Pos the next step.
|
|
Get speed in the xz-plane.
Definition at line 84 of file Move.hpp. Referenced by se_core::PhDefault::applyFriction(). |
|
Definition at line 76 of file Move.hpp. References coor_t. |
|
Definition at line 77 of file Move.hpp. References bray_t. |
|
|
|
Definition at line 60 of file Move.hpp. Referenced by se_core::PhDefault::applyFriction(). |
|
Definition at line 47 of file Move.hpp. Referenced by se_core::PhDefault::applyForces(), se_core::PhDefault::applyFriction(), and se_core::PhDefault::updateForces(). |
|
Definition at line 62 of file Move.hpp. Referenced by se_core::PhDefault::applyFriction(). |
|
|
|
Definition at line 61 of file Move.hpp. Referenced by se_core::PhDefault::applyFriction(). |
|
|
|
Definition at line 55 of file Move.hpp. Referenced by setMove(), and se_core::PhDefault::updateForces(). |
|
Definition at line 58 of file Move.hpp. Referenced by se_core::PhDefault::applyFriction(). |
|
|
|
|
|
Definition at line 56 of file Move.hpp. Referenced by se_core::PhDefault::updateForces(). |
|
Definition at line 46 of file Move.hpp. Referenced by se_core::PhDefault::applyForces(), se_core::PhDefault::applyFriction(), se_core::PhDefault::clampToGround(), setMove(), and se_core::PhDefault::updateForces(). |
|
|
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:26 2007 by Doxygen version 1.3.9.1.