projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
holdout poses
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_walk.c
diff --git
a/player_walk.c
b/player_walk.c
index a2a2ed80198a0fd3dff2c08a1b2b141e3222b0e1..0503f48fde51853c300f8cccfaf868ca7c42d2b1 100644
(file)
--- a/
player_walk.c
+++ b/
player_walk.c
@@
-682,6
+682,9
@@
VG_STATIC void player__walk_animate( player_instance *player,
v4_copy( dest->root_q, player->rb.q );
v3_muladds( dest->root_co, player->rb.to_world[1],
-0.28f * dop_t, dest->root_co );
v4_copy( dest->root_q, player->rb.q );
v3_muladds( dest->root_co, player->rb.to_world[1],
-0.28f * dop_t, dest->root_co );
+
+ skeleton_copy_pose( sk, dest->pose, player->holdout_pose );
+ player->holdout_time = 1.0f;
}
return;
}
}
return;
}
@@
-689,6
+692,9
@@
VG_STATIC void player__walk_animate( player_instance *player,
{
v3_muladds( dest->root_co, player->rb.to_world[1],
-0.28f * outro_t, dest->root_co );
{
v3_muladds( dest->root_co, player->rb.to_world[1],
-0.28f * outro_t, dest->root_co );
+
+ skeleton_copy_pose( sk, dest->pose, player->holdout_pose );
+ player->holdout_time = 1.0f;
}
}
else
}
}
else