summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_animation.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/models/models_animation.c')
-rw-r--r--examples/models/models_animation.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/models/models_animation.c b/examples/models/models_animation.c
index 7f38b7f5..5e7c8cf5 100644
--- a/examples/models/models_animation.c
+++ b/examples/models/models_animation.c
@@ -9,8 +9,15 @@
*
* Copyright (c) 2019 Culacant (@culacant) and Ramon Santamaria (@raysan5)
*
+********************************************************************************************
+*
+* To export a model from blender, make sure it is not posed, the vertices need to be in the
+* same position as they would be in edit mode.
+* and that the scale of your models is set to 0. Scaling can be done from the export menu.
+*
********************************************************************************************/
+#include <stdlib.h>
#include "raylib.h"
int main(void)
@@ -93,6 +100,7 @@ int main(void)
//--------------------------------------------------------------------------------------
// Unload model animations data
for (int i = 0; i < animsCount; i++) UnloadModelAnimation(anims[i]);
+ RL_FREE(anims);
UnloadModel(model); // Unload model