scale in box at start using game time

This commit is contained in:
ethan merchant 2024-11-14 13:51:06 -05:00
parent 94bad62aa6
commit 35e3a813f2

View file

@ -65,7 +65,9 @@ static class Arts
);
// box
Hierarchy.Push(Mono.box_pose.ToMatrix(Mono.box_scale));
// scale in
float box_scale = Maths.min(Maths.smooth_stop((float)Mono.game_time) * Mono.box_scale, Mono.box_scale);
Hierarchy.Push(Mono.box_pose.ToMatrix(box_scale));
// meshes["InsideOut"].Draw(mat_unlit, Matrix.Identity);
meshes["InsideOut"].Draw(
mat_box,