19#ifndef HEADER_THREE_D_ANIMATION_HPP
20#define HEADER_THREE_D_ANIMATION_HPP
27#include "btBulletDynamicsCommon.h"
29#include "animations/animation_base.hpp"
30#include "physics/user_pointer.hpp"
34 namespace scene {
class IAnimatedMesh;
class ISceneNode;
class IMesh; }
82 bool isFlattenKartObject()
const {
return m_flatten_kart; }
A base class for all animations.
Definition: animation_base.hpp:41
A class to manage bezier curves and interpolation.
Definition: bezier_curve.hpp:34
A virtual base class for all animations.
Definition: three_d_animation.hpp:45
bool m_crash_reset
True if a collision with this object should trigger rescuing a kart.
Definition: three_d_animation.hpp:51
bool m_is_paused
True if animation is currently paused by scripts.
Definition: three_d_animation.hpp:60
void updateWithWorldTicks(bool with_physics)
Updates position and rotation of this model.
Definition: three_d_animation.cpp:74
ThreeDAnimation * clone(TrackObject *obj)
Copying to child process of track object.
Definition: three_d_animation.cpp:126
bool m_explode_kart
True if a collision with this object should trigger "exploding" a kart.
Definition: three_d_animation.hpp:55
Vec3 m_hpr
We have to store the rotation value as computed in blender, since irrlicht uses a different order,...
Definition: three_d_animation.hpp:64
virtual ~ThreeDAnimation()
Destructor.
Definition: three_d_animation.cpp:67
virtual void update(float dt)
This needs to be implemented by the inheriting classes.
Definition: three_d_animation.hpp:74
bool m_important_animation
If true, play animation even when GFX are disabled.
Definition: three_d_animation.hpp:69
bool isCrashReset() const
Returns true if a collision with this object should trigger a rescue.
Definition: three_d_animation.hpp:80
This is a base object for any separate object on the track, which might also have a skeletal animatio...
Definition: track_object.hpp:56
A wrapper around bullets btVector3 to include conventient conversion functions (e....
Definition: vec3.hpp:35
utility class used to parse XML files
Definition: xml_node.hpp:48