#include <OgreRefAppApplicationObject.h>
Inheritance diagram for OgreRefApp::ApplicationObject:
Public Methods | |
ApplicationObject (const String &name) | |
virtual | ~ApplicationObject () |
virtual void | setPosition (const Vector3 &vec) |
Sets the position of this object. | |
virtual void | setPosition (Real x, Real y, Real z) |
Sets the position of this object. | |
virtual void | setOrientation (const Quaternion &orientation) |
Sets the orientation of this object. | |
virtual const Vector3 & | getPosition (void) |
Gets the current position of this object. | |
virtual const Quaternion & | getOrientation (void) |
Gets the current orientation of this object. | |
virtual void | _updateFromDynamics (void) |
Updates the position of this game object from the simulation. | |
virtual bool | isCollisionEnabled (void) |
Returns whether or not this object is considered for collision. | |
virtual bool | isDynamicsEnabled (void) |
Returns whether or not this object is physically simulated. | |
virtual void | setDynamicsDisableThreshold (Real linearSq, Real angularSq, Real overTime) |
Sets the linear and angular velocity thresholds, below which the object will have it's dynamics automatically disabled for performance. | |
virtual void | setCollisionEnabled (bool enabled) |
virtual void | setDynamicsEnabled (bool enabled, bool reEnableOnInteraction=false) |
Sets whether or not this object is physically simulated at this time. | |
virtual void | setBounceParameters (Real restitutionValue, Real velocityThreshold) |
Sets the 'bounciness' of this object. | |
virtual Real | getBounceRestitutionValue (void) |
Gets the cefficient of restitution (bounciness) for this object. | |
virtual Real | getBounceVelocityThreshold (void) |
Gets the bounce velocity threshold for this object. | |
virtual void | setSoftness (Real softness) |
Sets the softness of this object, which determines how much it is allowed to penetrate other objects. | |
virtual Real | getSoftness (void) |
Gets the softness factor of this object. | |
virtual void | setFriction (Real friction) |
Sets the Coulomb frictional coefficient for this object. | |
virtual Real | getFriction (void) |
Gets the Coulomb frictional coefficient for this object. | |
virtual void | addForce (const Vector3 &direction, const Vector3 &atPosition=Vector3::ZERO) |
Adds a linear force to this object, in object space, at the position indicated. | |
virtual void | addForce (Real dir_x, Real dir_y, Real dir_z, Real pos_x=0, Real pos_y=0, Real pos_z=0) |
Adds a linear force to this object, in object space, at the position indicated. | |
virtual void | addForceWorldSpace (const Vector3 &direction, const Vector3 &atPosition=Vector3::ZERO) |
Adds a linear force to this object, in world space, at the position indicated. | |
virtual void | addForceWorldSpace (Real dir_x, Real dir_y, Real dir_z, Real pos_x, Real pos_y, Real pos_z) |
Adds a linear force to this object, in world space, at the position indicated. | |
virtual void | addTorque (const Vector3 &direction) |
Adds rotational force to this object, in object space. | |
virtual void | addTorque (Real x, Real y, Real z) |
Adds rotational force to this object, in object space. | |
virtual void | addTorqueWorldSpace (const Vector3 &direction) |
Adds rotational force to this object, in world space. | |
virtual void | addTorqueWorldSpace (Real x, Real y, Real z) |
Adds rotational force to this object, in world space. | |
virtual bool | testCollide (ApplicationObject *otherObj) |
Tests to see if there is a detailed collision between this object and the object passed in. | |
virtual bool | testCollide (SceneQuery::WorldFragment *wf) |
Tests to see if there is a detailed collision between this object and the world fragment passed in. | |
virtual void | _notifyCollided (ApplicationObject *otherObj, const CollisionInfo &info) |
This method is called automatically if testCollide indicates a real collision. | |
virtual void | _notifyCollided (SceneQuery::WorldFragment *wf, const CollisionInfo &info) |
This method is called automatically if testCollide indicates a real collision. | |
SceneNode * | getSceneNode (void) |
Gets the SceneNode which is being used to represent this object's position in the OGRE world. | |
Entity * | getEntity (void) |
Gets the Entity which is being used to represent this object in the OGRE world. | |
dBody * | getOdeBody (void) |
Gets the ODE body used to represent this object's mass and current velocity. | |
void | setMassSphere (Real density, Real radius) |
Set the mass parameters of this object to represent a sphere. | |
void | setMassBox (Real density, const Vector3 &dimensions, const Quaternion &orientation=Quaternion::IDENTITY) |
Set the mass parameters of this object to represent a box. | |
void | setMassCappedCylinder (Real density, Real length, Real width, const Quaternion &orientation=Quaternion::IDENTITY) |
Set the mass parameters of this object to represent a capped cylinder. | |
void | setMassExpert (Real mass, const Vector3 center, const Matrix3 inertia) |
Sets the mass parameters manually, use only if you know how! | |
const dMass * | getOdeMass (void) |
Gets the ODE mass parameters for this object. | |
void | setLinearVelocity (const Vector3 &vel) |
Sets the current linear velocity of this object. | |
void | setLinearVelocity (Real x, Real y, Real z) |
Sets the current linear velocity of this object. | |
const Vector3 & | getLinearVelocity (void) |
Gets the current linear velocity of this object. | |
const Vector3 & | getAngularVelocity (void) |
Gets the current angular velocity of this object. | |
void | setAngularVelocity (const Vector3 &vel) |
Sets the current angular velocity of this object. | |
void | setAngularVelocity (Real x, Real y, Real z) |
Sets the current angular velocity of this object. | |
virtual void | translate (const Vector3 &d) |
Moves the object along it's local axes. | |
virtual void | translate (Real x, Real y, Real z) |
Moves the object along it's local axes. | |
virtual void | translateWorldSpace (const Vector3 &d) |
Moves the object along the world axes. | |
virtual void | translateWorldSpace (Real x, Real y, Real z) |
Moves the object along the world axes. | |
virtual void | roll (const Radian &angle) |
Rotate the object around the local Z-axis. | |
void | roll (Real angleunits) |
virtual void | pitch (const Radian &angle) |
Rotate the object around the local X-axis. | |
void | pitch (Real angleunits) |
virtual void | yaw (const Radian &angle) |
Rotate the object around the local Y-axis. | |
void | yaw (Real angleunits) |
virtual void | rotate (const Vector3 &axis, const Radian &angle) |
Rotate the object around an arbitrary axis. | |
void | rotate (const Vector3 &axis, Real angleunits) |
virtual void | rotate (const Quaternion &q) |
Rotate the object around an aritrary axis using a Quarternion. | |
Protected Types | |
typedef std::list< dGeom * > | CollisionProxyList |
Collision proxies, must be set up if collision enabled. | |
Protected Methods | |
virtual void | setUp (const String &name)=0 |
virtual void | updateCollisionProxies (void) |
Internal method for updating the state of the collision proxies. | |
virtual bool | testCollidePlaneBounds (SceneQuery::WorldFragment *wf) |
Internal method for testing the plane bounded region WorldFragment type. | |
virtual void | setEntityQueryFlags (void) |
Internal method for updating the query mask. | |
Protected Attributes | |
SceneNode * | mSceneNode |
Entity * | mEntity |
dBody * | mOdeBody |
Dynamics properties, must be set up by subclasses if dynamics enabled. | |
dMass | mMass |
Mass parameters. | |
CollisionProxyList | mCollisionProxies |
bool | mDynamicsEnabled |
bool | mReenableIfInteractedWith |
bool | mCollisionEnabled |
Real | mBounceCoeffRestitution |
Real | mBounceVelocityThreshold |
Real | mSoftness |
Real | mFriction |
Real | mLinearVelDisableThreshold |
Real | mAngularVelDisableThreshold |
Real | mDisableTime |
Real | mDisableTimeEnd |
Definition at line 42 of file OgreRefAppApplicationObject.h.
|
Collision proxies, must be set up if collision enabled.
Definition at line 56 of file OgreRefAppApplicationObject.h. |
|
Definition at line 36 of file OgreRefAppApplicationObject.cpp. References mAngularVelDisableThreshold, mBounceCoeffRestitution, mBounceVelocityThreshold, mCollisionEnabled, mDisableTime, mDisableTimeEnd, mDynamicsEnabled, mEntity, mLinearVelDisableThreshold, mMass, mOdeBody, mReenableIfInteractedWith, mSceneNode, mSoftness, setFriction(), and Ogre::String. |
|
Definition at line 59 of file OgreRefAppApplicationObject.cpp. References mCollisionProxies, mOdeBody, and mSceneNode. |
|
This method is called automatically if testCollide indicates a real collision.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 538 of file OgreRefAppApplicationObject.cpp. |
|
This method is called automatically if testCollide indicates a real collision.
Reimplemented in OgreRefApp::Box. Definition at line 531 of file OgreRefAppApplicationObject.cpp. Referenced by testCollide(), and testCollidePlaneBounds(). |
|
Updates the position of this game object from the simulation.
Definition at line 131 of file OgreRefAppApplicationObject.cpp. References getAngularVelocity(), getLinearVelocity(), mAngularVelDisableThreshold, mDisableTime, mDisableTimeEnd, mDynamicsEnabled, mLinearVelDisableThreshold, mOdeBody, mSceneNode, Ogre::Real, setDynamicsEnabled(), and updateCollisionProxies(). |
|
Adds a linear force to this object, in object space, at the position indicated.
Definition at line 245 of file OgreRefAppApplicationObject.cpp. References mOdeBody, and Ogre::Real. |
|
Adds a linear force to this object, in object space, at the position indicated.
Definition at line 239 of file OgreRefAppApplicationObject.cpp. |
|
Adds a linear force to this object, in world space, at the position indicated.
Definition at line 260 of file OgreRefAppApplicationObject.cpp. References mOdeBody, and Ogre::Real. |
|
Adds a linear force to this object, in world space, at the position indicated.
Definition at line 254 of file OgreRefAppApplicationObject.cpp. |
|
Adds rotational force to this object, in object space.
Definition at line 273 of file OgreRefAppApplicationObject.cpp. References mOdeBody, and Ogre::Real. |
|
Adds rotational force to this object, in object space.
Definition at line 268 of file OgreRefAppApplicationObject.cpp. |
|
Adds rotational force to this object, in world space.
Definition at line 284 of file OgreRefAppApplicationObject.cpp. References mOdeBody, and Ogre::Real. |
|
Adds rotational force to this object, in world space.
Definition at line 279 of file OgreRefAppApplicationObject.cpp. |
|
Gets the current angular velocity of this object.
Definition at line 672 of file OgreRefAppApplicationObject.cpp. References isDynamicsEnabled(), and mOdeBody. Referenced by _updateFromDynamics(). |
|
Gets the cefficient of restitution (bounciness) for this object.
Definition at line 552 of file OgreRefAppApplicationObject.cpp. References mBounceCoeffRestitution, and Ogre::Real. Referenced by testCollide(), and testCollidePlaneBounds(). |
|
Gets the bounce velocity threshold for this object.
Definition at line 557 of file OgreRefAppApplicationObject.cpp. References mBounceVelocityThreshold, and Ogre::Real. Referenced by testCollide(), and testCollidePlaneBounds(). |
|
Gets the Entity which is being used to represent this object in the OGRE world.
Definition at line 295 of file OgreRefAppApplicationObject.cpp. References mEntity. |
|
Gets the Coulomb frictional coefficient for this object.
Definition at line 584 of file OgreRefAppApplicationObject.cpp. References mFriction, and Ogre::Real. Referenced by testCollide(), and testCollidePlaneBounds(). |
|
Gets the current linear velocity of this object.
Definition at line 658 of file OgreRefAppApplicationObject.cpp. References isDynamicsEnabled(), and mOdeBody. Referenced by _updateFromDynamics(). |
|
Gets the ODE body used to represent this object's mass and current velocity.
Definition at line 300 of file OgreRefAppApplicationObject.cpp. References isDynamicsEnabled(), and mOdeBody. Referenced by OgreRefApp::Joint::setAttachments(), testCollide(), and testCollidePlaneBounds(). |
|
Gets the ODE mass parameters for this object.
Definition at line 638 of file OgreRefAppApplicationObject.cpp. References mMass. |
|
Gets the current orientation of this object.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 118 of file OgreRefAppApplicationObject.cpp. References mSceneNode. Referenced by rotate(), and setDynamicsEnabled(). |
|
Gets the current position of this object.
Definition at line 113 of file OgreRefAppApplicationObject.cpp. References mSceneNode. Referenced by setDynamicsEnabled(), and translateWorldSpace(). |
|
Gets the SceneNode which is being used to represent this object's position in the OGRE world.
Definition at line 290 of file OgreRefAppApplicationObject.cpp. References mSceneNode. |
|
Gets the softness factor of this object.
Definition at line 567 of file OgreRefAppApplicationObject.cpp. References mSoftness, and Ogre::Real. Referenced by testCollide(), and testCollidePlaneBounds(). |
|
Returns whether or not this object is considered for collision.
Definition at line 193 of file OgreRefAppApplicationObject.cpp. References mCollisionEnabled. |
|
Returns whether or not this object is physically simulated.
Definition at line 198 of file OgreRefAppApplicationObject.cpp. References mDynamicsEnabled, and mReenableIfInteractedWith. Referenced by getAngularVelocity(), getLinearVelocity(), getOdeBody(), setAngularVelocity(), setLinearVelocity(), setOrientation(), setPosition(), testCollide(), and testCollidePlaneBounds(). |
|
Reimplemented in OgreRefApp::CollideCamera. Definition at line 418 of file OgreRefAppApplicationObject.h. References Ogre::Real. |
|
Rotate the object around the local X-axis.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 727 of file OgreRefAppApplicationObject.cpp. References rotate(). |
|
Reimplemented in OgreRefApp::CollideCamera. Definition at line 409 of file OgreRefAppApplicationObject.h. References Ogre::Real. |
|
Rotate the object around the local Z-axis.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 722 of file OgreRefAppApplicationObject.cpp. References rotate(). |
|
Rotate the object around an aritrary axis using a Quarternion.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 744 of file OgreRefAppApplicationObject.cpp. References getOrientation(), and setOrientation(). |
|
Reimplemented in OgreRefApp::CollideCamera. Definition at line 436 of file OgreRefAppApplicationObject.h. References Ogre::Real. |
|
Rotate the object around an arbitrary axis.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 737 of file OgreRefAppApplicationObject.cpp. |
|
Sets the current angular velocity of this object.
Definition at line 690 of file OgreRefAppApplicationObject.cpp. References isDynamicsEnabled(), mOdeBody, Ogre::Real, and setDynamicsEnabled(). |
|
Sets the current angular velocity of this object.
Definition at line 685 of file OgreRefAppApplicationObject.cpp. |
|
Sets the 'bounciness' of this object.
Definition at line 545 of file OgreRefAppApplicationObject.cpp. References mBounceCoeffRestitution, mBounceVelocityThreshold, and Ogre::Real. Referenced by OgreRefApp::OgreHead::setUp(), OgreRefApp::Box::setUp(), and OgreRefApp::Ball::setUp(). |
|
Definition at line 203 of file OgreRefAppApplicationObject.cpp. References mCollisionEnabled, and setEntityQueryFlags(). |
|
Sets the linear and angular velocity thresholds, below which the object will have it's dynamics automatically disabled for performance.
Definition at line 123 of file OgreRefAppApplicationObject.cpp. References mAngularVelDisableThreshold, mDisableTime, mLinearVelDisableThreshold, and Ogre::Real. |
|
Sets whether or not this object is physically simulated at this time.
Definition at line 209 of file OgreRefAppApplicationObject.cpp. References getOrientation(), getPosition(), mDynamicsEnabled, mOdeBody, and mReenableIfInteractedWith. Referenced by _updateFromDynamics(), setAngularVelocity(), and setLinearVelocity(). |
|
Internal method for updating the query mask.
Definition at line 749 of file OgreRefAppApplicationObject.cpp. References mCollisionEnabled, and mEntity. Referenced by setCollisionEnabled(). |
|
Sets the Coulomb frictional coefficient for this object.
Definition at line 572 of file OgreRefAppApplicationObject.cpp. References mFriction, and Ogre::Real. Referenced by ApplicationObject(), OgreRefApp::OgreHead::setUp(), OgreRefApp::Box::setUp(), and OgreRefApp::Ball::setUp(). |
|
Sets the current linear velocity of this object.
Definition at line 648 of file OgreRefAppApplicationObject.cpp. References isDynamicsEnabled(), mOdeBody, Ogre::Real, and setDynamicsEnabled(). |
|
Sets the current linear velocity of this object.
Definition at line 643 of file OgreRefAppApplicationObject.cpp. |
|
Set the mass parameters of this object to represent a box.
Definition at line 595 of file OgreRefAppApplicationObject.cpp. References mMass, mOdeBody, OgreRefApp::OgreToOde(), and Ogre::Real. Referenced by OgreRefApp::Box::setUp(). |
|
Set the mass parameters of this object to represent a capped cylinder.
Definition at line 611 of file OgreRefAppApplicationObject.cpp. References mMass, mOdeBody, OgreRefApp::OgreToOde(), and Ogre::Real. |
|
Sets the mass parameters manually, use only if you know how!
Definition at line 625 of file OgreRefAppApplicationObject.cpp. References mMass, mOdeBody, OgreRefApp::OgreToOde(), and Ogre::Real. |
|
Set the mass parameters of this object to represent a sphere.
Definition at line 589 of file OgreRefAppApplicationObject.cpp. References mMass, mOdeBody, and Ogre::Real. Referenced by OgreRefApp::OgreHead::setUp(), and OgreRefApp::Ball::setUp(). |
|
Sets the orientation of this object.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 102 of file OgreRefAppApplicationObject.cpp. References isDynamicsEnabled(), mOdeBody, mSceneNode, and updateCollisionProxies(). Referenced by OgreRefApp::World::createBall(), OgreRefApp::World::createBox(), OgreRefApp::World::createOgreHead(), OgreRefApp::World::createPlane(), and rotate(). |
|
Sets the position of this object.
Definition at line 94 of file OgreRefAppApplicationObject.cpp. References isDynamicsEnabled(), mOdeBody, mSceneNode, Ogre::Real, and updateCollisionProxies(). |
|
Sets the position of this object.
Definition at line 89 of file OgreRefAppApplicationObject.cpp. Referenced by OgreRefApp::World::createBall(), OgreRefApp::World::createBox(), OgreRefApp::World::createCamera(), OgreRefApp::World::createOgreHead(), OgreRefApp::World::createPlane(), and translateWorldSpace(). |
|
Sets the softness of this object, which determines how much it is allowed to penetrate other objects.
Definition at line 562 of file OgreRefAppApplicationObject.cpp. References mSoftness, and Ogre::Real. Referenced by OgreRefApp::OgreHead::setUp(), OgreRefApp::Box::setUp(), and OgreRefApp::Ball::setUp(). |
|
Implemented in OgreRefApp::Ball, OgreRefApp::Box, OgreRefApp::CollideCamera, OgreRefApp::OgreHead, and OgreRefApp::FinitePlane. |
|
Tests to see if there is a detailed collision between this object and the world fragment passed in.
Definition at line 425 of file OgreRefAppApplicationObject.cpp. References testCollidePlaneBounds(). |
|
Tests to see if there is a detailed collision between this object and the object passed in.
Definition at line 336 of file OgreRefAppApplicationObject.cpp. References _notifyCollided(), getBounceRestitutionValue(), getBounceVelocityThreshold(), getFriction(), getOdeBody(), getSoftness(), isDynamicsEnabled(), mCollisionProxies, OgreRefApp::ApplicationObject::CollisionInfo::normal, OgreRefApp::ApplicationObject::CollisionInfo::penetrationDepth, OgreRefApp::ApplicationObject::CollisionInfo::position, and Ogre::Real. Referenced by OgreRefApp::World::_applyCollision(). |
|
Internal method for testing the plane bounded region WorldFragment type.
Definition at line 441 of file OgreRefAppApplicationObject.cpp. References _notifyCollided(), getBounceRestitutionValue(), getBounceVelocityThreshold(), getFriction(), getOdeBody(), getSoftness(), isDynamicsEnabled(), mCollisionProxies, OgreRefApp::ApplicationObject::CollisionInfo::normal, OgreRefApp::ApplicationObject::CollisionInfo::penetrationDepth, OgreRefApp::ApplicationObject::CollisionInfo::position, and Ogre::Real. Referenced by testCollide(). |
|
Moves the object along it's local axes.
This method moves the object by the supplied vector along the local axes of the obect.
Definition at line 707 of file OgreRefAppApplicationObject.cpp. References Ogre::Real, and translate(). |
|
Moves the object along it's local axes.
This method moves the object by the supplied vector along the local axes of the obect.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 700 of file OgreRefAppApplicationObject.cpp. References mSceneNode, and translateWorldSpace(). Referenced by translate(). |
|
Moves the object along the world axes.
This method moves the object by the supplied vector along the local axes of the obect.
Definition at line 717 of file OgreRefAppApplicationObject.cpp. References Ogre::Real, and translateWorldSpace(). |
|
Moves the object along the world axes.
This method moves the object by the supplied vector along the world axes.
Definition at line 712 of file OgreRefAppApplicationObject.cpp. References getPosition(), and setPosition(). Referenced by OgreRefApp::CollideCamera::_notifyCollided(), OgreRefApp::CollideCamera::translate(), translate(), and translateWorldSpace(). |
|
Internal method for updating the state of the collision proxies.
Definition at line 313 of file OgreRefAppApplicationObject.cpp. References mCollisionProxies, and mSceneNode. Referenced by _updateFromDynamics(), setOrientation(), setPosition(), OgreRefApp::FinitePlane::setUp(), OgreRefApp::OgreHead::setUp(), OgreRefApp::CollideCamera::setUp(), OgreRefApp::Box::setUp(), and OgreRefApp::Ball::setUp(). |
|
Reimplemented in OgreRefApp::CollideCamera. Definition at line 427 of file OgreRefAppApplicationObject.h. References Ogre::Real. |
|
Rotate the object around the local Y-axis.
Reimplemented in OgreRefApp::CollideCamera. Definition at line 732 of file OgreRefAppApplicationObject.cpp. References rotate(). |
|
Definition at line 69 of file OgreRefAppApplicationObject.h. Referenced by _updateFromDynamics(), ApplicationObject(), and setDynamicsDisableThreshold(). |
|
Definition at line 64 of file OgreRefAppApplicationObject.h. Referenced by ApplicationObject(), getBounceRestitutionValue(), and setBounceParameters(). |
|
Definition at line 65 of file OgreRefAppApplicationObject.h. Referenced by ApplicationObject(), getBounceVelocityThreshold(), and setBounceParameters(). |
|
Definition at line 62 of file OgreRefAppApplicationObject.h. Referenced by ApplicationObject(), isCollisionEnabled(), setCollisionEnabled(), and setEntityQueryFlags(). |
|
Definition at line 57 of file OgreRefAppApplicationObject.h. Referenced by OgreRefApp::CollideCamera::nearDistChanged(), OgreRefApp::FinitePlane::setUp(), OgreRefApp::OgreHead::setUp(), OgreRefApp::CollideCamera::setUp(), OgreRefApp::Box::setUp(), OgreRefApp::Ball::setUp(), testCollide(), testCollidePlaneBounds(), updateCollisionProxies(), and ~ApplicationObject(). |
|
Definition at line 70 of file OgreRefAppApplicationObject.h. Referenced by _updateFromDynamics(), ApplicationObject(), and setDynamicsDisableThreshold(). |
|
Definition at line 71 of file OgreRefAppApplicationObject.h. Referenced by _updateFromDynamics(), and ApplicationObject(). |
|
Definition at line 60 of file OgreRefAppApplicationObject.h. Referenced by _updateFromDynamics(), ApplicationObject(), isDynamicsEnabled(), and setDynamicsEnabled(). |
|
Definition at line 47 of file OgreRefAppApplicationObject.h. Referenced by ApplicationObject(), getEntity(), setEntityQueryFlags(), OgreRefApp::FinitePlane::setUp(), OgreRefApp::OgreHead::setUp(), OgreRefApp::Box::setUp(), and OgreRefApp::Ball::setUp(). |
|
Definition at line 67 of file OgreRefAppApplicationObject.h. Referenced by getFriction(), and setFriction(). |
|
Definition at line 68 of file OgreRefAppApplicationObject.h. Referenced by _updateFromDynamics(), ApplicationObject(), and setDynamicsDisableThreshold(). |
|
Mass parameters.
Definition at line 52 of file OgreRefAppApplicationObject.h. Referenced by ApplicationObject(), getOdeMass(), setMassBox(), setMassCappedCylinder(), setMassExpert(), and setMassSphere(). |
|
Dynamics properties, must be set up by subclasses if dynamics enabled.
Definition at line 50 of file OgreRefAppApplicationObject.h. Referenced by _updateFromDynamics(), addForce(), addForceWorldSpace(), addTorque(), addTorqueWorldSpace(), ApplicationObject(), getAngularVelocity(), getLinearVelocity(), getOdeBody(), setAngularVelocity(), setDynamicsEnabled(), setLinearVelocity(), setMassBox(), setMassCappedCylinder(), setMassExpert(), setMassSphere(), setOrientation(), setPosition(), OgreRefApp::OgreHead::setUp(), OgreRefApp::Box::setUp(), OgreRefApp::Ball::setUp(), and ~ApplicationObject(). |
|
Definition at line 61 of file OgreRefAppApplicationObject.h. Referenced by ApplicationObject(), isDynamicsEnabled(), and setDynamicsEnabled(). |
|
Definition at line 46 of file OgreRefAppApplicationObject.h. Referenced by _updateFromDynamics(), ApplicationObject(), getOrientation(), getPosition(), getSceneNode(), setOrientation(), setPosition(), OgreRefApp::FinitePlane::setUp(), OgreRefApp::OgreHead::setUp(), OgreRefApp::CollideCamera::setUp(), OgreRefApp::Box::setUp(), OgreRefApp::Ball::setUp(), translate(), updateCollisionProxies(), and ~ApplicationObject(). |
|
Definition at line 66 of file OgreRefAppApplicationObject.h. Referenced by ApplicationObject(), getSoftness(), and setSoftness(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:55 2004