lerp food in
This commit is contained in:
parent
2900070ea9
commit
b6e20580e6
1 changed files with 4 additions and 2 deletions
|
@ -171,11 +171,13 @@ static class Arts
|
|||
}
|
||||
if (!Mono.eaten_latch.state)
|
||||
{
|
||||
float food_t = Mono.eaten_latch.delta == -1 ? Maths.smooth_stop((float)Mono.step_t) : 1;
|
||||
meshes["Food"].Draw(
|
||||
mat_mono,
|
||||
Matrix.TR(
|
||||
Matrix.TRS(
|
||||
Mono.food.ToVec3,
|
||||
food_ori
|
||||
food_ori,
|
||||
food_t
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue