scale in box at start using game time
This commit is contained in:
parent
94bad62aa6
commit
35e3a813f2
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@ static class Arts
|
||||||
);
|
);
|
||||||
|
|
||||||
// box
|
// 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_unlit, Matrix.Identity);
|
||||||
meshes["InsideOut"].Draw(
|
meshes["InsideOut"].Draw(
|
||||||
mat_box,
|
mat_box,
|
||||||
|
|
Loading…
Add table
Reference in a new issue