|
|
scene::ISceneNode * | getNode () const |
| | Returns the scene node of this moveable.
|
| |
| void | setNode (scene::ISceneNode *n) |
| | Sets the mesh for this model. More...
|
| |
|
virtual const btVector3 & | getVelocity () const |
| |
|
const btVector3 & | getVelocityLC () const |
| |
|
virtual void | setVelocity (const btVector3 &v) |
| |
|
const Vec3 & | getXYZ () const |
| |
|
float | getHeading () const |
| | Returns the heading between -pi and pi.
|
| |
|
float | getPitch () const |
| | Returns the pitch of the kart, restricted to between -pi/2 and pi/2.
|
| |
| float | getRoll () const |
| | Returns the roll of the kart between -pi and pi. More...
|
| |
|
const btQuaternion | getRotation () const |
| |
|
virtual void | flyUp () |
| | Enter flying mode.
|
| |
|
virtual void | flyDown () |
| |
|
virtual void | stopFlying () |
| |
|
virtual void | setXYZ (const Vec3 &a) |
| | Sets the XYZ coordinates of the moveable.
|
| |
|
void | setRotation (const btMatrix3x3 &m) |
| | Sets the rotation of the physical body this moveable.
|
| |
|
void | setRotation (const btQuaternion &q) |
| | Sets the rotation of the physical body this moveable.
|
| |
|
virtual void | reset () |
| | The reset position must be set before calling reset.
|
| |
| virtual void | update (int ticks) |
| | Updates the current position and rotation from the corresponding physics body, and then calls updateGraphics to position the model correctly. More...
|
| |
|
btRigidBody * | getBody () const |
| |
| void | createBody (float mass, btTransform &trans, btCollisionShape *shape, float restitution) |
| | Creates the bullet rigid body for this moveable. More...
|
| |
|
const btTransform & | getTrans () const |
| |
| void | setTrans (const btTransform &t) |
| | Places this moveable at a certain location and stores this transform in this Moveable, so that it can be accessed easily. More...
|
| |
| void | updatePosition () |
| | Updates the current position and rotation. More...
|
| |
| virtual void | updateGraphics (float dt)=0 |
| | Called once per rendered frame. More...
|
| |
|
void | prepareSmoothing () |
| |
|
void | checkSmoothing () |
| |
|
const btTransform & | getSmoothedTrans () const |
| |
|
const Vec3 & | getSmoothedXYZ () const |
| |
|
virtual const std::string & | getIdent () const |
| |
Public Member Functions inherited from SmoothNetworkBody |
|
| SmoothNetworkBody (bool enable=false) |
| |
|
void | reset () |
| |
|
void | setEnable (bool val) |
| |
|
bool | isEnabled () const |
| |
|
void | setSmoothRotation (bool val) |
| |
|
void | setAdjustVerticalOffset (bool val) |
| |
|
void | prepareSmoothing (const btTransform ¤t_transform, const Vec3 ¤t_velocity) |
| |
| void | checkSmoothing (const btTransform ¤t_transform, const Vec3 ¤t_velocity) |
| | Adds a new error between graphical and physical position/rotation. More...
|
| |
|
void | updateSmoothedGraphics (const btTransform ¤t_transform, const Vec3 ¤t_velocity, float dt) |
| |
|
void | setSmoothedTransform (const btTransform &t) |
| |
|
const btTransform & | getSmoothedTrans () const |
| |
|
const Vec3 & | getSmoothedXYZ () const |
| |
|
void | setMinAdjustLength (float val) |
| |
|
void | setMaxAdjustLength (float val) |
| |
|
void | setMinAdjustSpeed (float val) |
| |
|
void | setMaxAdjustTime (float val) |
| |
|
void | setAdjustLengthThreshold (float val) |
| |