Animation blending
- transition smoothly between idle and run animations - use quaternions (versors) instead of yaw/pitch/roll - hide mouse and enable free-look mode by default on startup - rotate model 180 degrees in Blender so it faces away from the camera by default - add some makefile commands
This commit is contained in:
@@ -22,6 +22,8 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
bool running;
|
||||
bool charIsMoving;
|
||||
float animBlend;
|
||||
uint64_t previousTicks;
|
||||
InputState input;
|
||||
SDL_Window *window;
|
||||
|
||||
Reference in New Issue
Block a user