8 Commits

Author SHA1 Message Date
074ec20e1b Add interactive path editing
The PathMovementSwitchSystem was repurposed to a general InteractivePathSystem for this. It handles switching and adding points, as both seem like sensible possibilities for such entities to have.
2020-10-03 18:05:55 +02:00
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
8138c506d9 Improve mouse rotation code
This had some quirks previously, now it works cleanly with quaternions.
2020-10-02 22:47:27 +02:00
30b36bd9f8 Add basic sine animation component + system for it 2020-01-15 17:16:55 +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
0908a39aa5 Mouse look works properly when stationary 2020-01-07 21:38:26 +01:00
a262b60def Mostly functional mouse look
Walking doesn't take it into account though...
2020-01-07 20:02:40 +01:00