rename spawn to show & add gfx.text3d.hide(...)

This commit is contained in:
MihailRis
2024-11-14 10:45:37 +03:00
parent eb5715eba9
commit d74b530a83
5 changed files with 20 additions and 8 deletions
+4 -4
View File
@@ -25,9 +25,9 @@ function on_hud_open()
drop.rigidbody:set_vel(velocity)
end)
gfx.text3d.spawn({0.5, 99.5, 0.0015}, "Segmentation fault", {
scale = 0.005,
color = {0, 0, 0, 1},
displayMode = "static_billboard"
gfx.text3d.show({0.5, 99.5, 0.0015}, "Segmentation fault", {
scale=0.005,
color={0, 0, 0, 1},
displayMode="static_billboard"
})
end