Bubba-3D
0.9.0
Awesome game engine!
|
Public Member Functions | |
MoveComponent (GameObject *meshObject) | |
MoveComponent (GameObject *meshObject, chag::Quaternion rotationSpeed, chag::float3 velocity, chag::float3 acceleration, chag::float3 scaleSpeed) | |
virtual void | update (float dt) |
chag::float3 | getVelocity () |
chag::float3 | getAcceleration () |
chag::Quaternion | getRotationSpeed () |
chag::float3 | getScaleSpeed () |
void | setVelocity (chag::float3 v) |
void | setAcceleration (chag::float3 a) |
void | setRotationSpeed (chag::Quaternion rs) |
void | setScaleSpeed (chag::float3 ss) |
![]() | |
void | bind (GameObject *owner) |
virtual void | beforeCollision (GameObject *collider) |
virtual void | duringCollision (GameObject *collider) |
virtual void | afterCollision (GameObject *collider) |
virtual void | onDeath () |
Protected Attributes | |
GameObject * | meshObject |
![]() | |
GameObject * | owner |
Definition at line 25 of file MoveComponent.h.