Movement/rotation queue fixed and Simon force push
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ namespace Events
|
||||
{
|
||||
EntityID Entity;
|
||||
glm::vec3 GoalPosition;
|
||||
double Time;
|
||||
float Speed;
|
||||
bool Queue;
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#ifndef Event_Rotate_h__
|
||||
#define Event_Rotate_h__
|
||||
|
||||
#include "EventBroker.h"
|
||||
|
||||
namespace Events
|
||||
{
|
||||
|
||||
struct Rotate : Event
|
||||
{
|
||||
EntityID Entity;
|
||||
glm::quat GoalRotation;
|
||||
double Time;
|
||||
bool Queue;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Event_Rotate_h__
|
||||
Reference in New Issue
Block a user