8 Commits

Author SHA1 Message Date
3fb23200fb Add system to switch between path and manual movement
This system automatically checks for entities with both movement methods, and activates/deactivates them when pressing P.
2020-10-03 17:44:52 +02:00
2889a6fa8a Make movement work with origin change 2020-10-02 22:47:10 +02:00
65f0e3367b Fix unintuitive movement (random stopping)
Instead of completely stopping on key release, only that specific
movement is stopped
2020-01-07 22:19:15 +01:00
8c6a1d7834 Cleanup: Moving things where they belong 2020-01-07 22:13:47 +01:00
b514cd38a7 Movement is functional!
There is a small bug that can occur, seems like gimbal lock or something
like that. Only rarely though (close to coordinate origin?)
2020-01-07 22:07:38 +01:00
a262b60def Mostly functional mouse look
Walking doesn't take it into account though...
2020-01-07 20:02:40 +01:00
7675ddc3a4 Add glm for vector math, used for position and movement 2020-01-07 13:10:23 +01:00
3529254a29 Move all ECS stuff into their own files / dirs 2020-01-04 18:25:47 +01:00