19 #include "IComponent.h" 20 #include "linmath/float3.h" 21 #include "GameObject.h" 22 #include "HudRenderer.h" 23 #include <linmath/Quaternion.h> 30 chag::float3 velocity, chag::float3 acceleration, chag::float3 scaleSpeed);
32 virtual void update(
float dt);
34 chag::float3 getVelocity();
35 chag::float3 getAcceleration();
36 chag::Quaternion getRotationSpeed();
37 chag::float3 getScaleSpeed();
39 void setVelocity(chag::float3 v);
40 void setAcceleration(chag::float3 a);
41 void setRotationSpeed(chag::Quaternion rs);
42 void setScaleSpeed(chag::float3 ss);
49 chag::float3 velocity = chag::make_vector(0.0f, 0.0f, 0.0f);
50 chag::float3 acceleration = chag::make_vector(0.0f, 0.0f, 0.0f);
51 chag::Quaternion rotationSpeed;
52 chag::float3 scaleSpeed = chag::make_vector(0.0f,0.0f,0.0f);
A class for containing all information about a object in the game world.